Skip to content

Commit 34d024f

Browse files
committed
Merge branch 'master' of github.com:bolechen/gongmall-php-sdk
2 parents 2df1de4 + 3808a12 commit 34d024f

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/Api.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ private function createNonceStr($length = 16)
111111
{
112112
$chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';
113113
$str = '';
114-
for ($i = 0; $i < $length; ++$i) {
114+
for ($i = 0; $i < $length; $i++) {
115115
$str .= substr($chars, mt_rand(0, strlen($chars) - 1), 1);
116116
}
117117

tests/config.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,17 @@
1010

1111
// Config for test only
1212
return [
13-
'apiKey' => '58ead180d70a49048c8df010124fb9d7',
14-
'apiSecret' => '9f4cd5294355e37a75168036eb82c4db',
13+
'apiKey' => '58ead180d70a49048c8df010124fb9d7',
14+
'apiSecret' => '9f4cd5294355e37a75168036eb82c4db',
1515
'contractUrl' => 'https://contract-qa.gongmall.com/url_contract.html?companyId=qP3gZP&positionId=4Pmp2V',
1616

17-
'debug' => true, // 输出日志
17+
'debug' => true, // 输出日志
1818
'sandbox' => true, //沙盒
1919

2020
'log' => [
21-
'name' => 'gongmall',
22-
'file' => __DIR__.'/gongmall.log',
23-
'level' => 'debug',
21+
'name' => 'gongmall',
22+
'file' => __DIR__.'/gongmall.log',
23+
'level' => 'debug',
2424
'permission' => 0777,
2525
],
2626
];

0 commit comments

Comments
 (0)