@@ -56,7 +56,7 @@ class OrderController extends BaseController
$wxPrefix = [10, 11, 12, 13, 14, 15];
$isWx = false;
foreach ($wxPrefix as $wxId) {
- if (strpos($authCode, $wxId) === 0) {
+ if (strpos($authCode, (string)$wxId) == 0) {
$isWx = true;
}