|
|
@@ -52,11 +52,10 @@ class OrderController extends BaseController
|
|
|
if (empty($authCode)) {
|
|
|
util::fail('支付失败');
|
|
|
}
|
|
|
-
|
|
|
- $wxPrefix = [10, 11, 12, 13, 14, 15];
|
|
|
+ $wxPrefix = ['10', '11', '12', '13', '14', '15'];
|
|
|
$isWx = false;
|
|
|
foreach ($wxPrefix as $wxId) {
|
|
|
- if (strpos($authCode, (string)$wxId) == 0) {
|
|
|
+ if (strpos($authCode, $wxId) == 0) {
|
|
|
$isWx = true;
|
|
|
}
|
|
|
}
|