|
|
@@ -686,7 +686,9 @@ class OrderController extends BaseController
|
|
|
noticeUtil::push($remind . ' 编号001', '15280215347');
|
|
|
util::success(['returnStatus' => 'FAILURE'], $msg);
|
|
|
}
|
|
|
+ //微信文档说明 https://pay.weixin.qq.com/doc/v2/merchant/4011936234
|
|
|
$wxPattern = '/^(10|11|12|13|14|15)\d{16}$/';
|
|
|
+ //支付宝文档说明 https://opendocs.alipay.com/open/194/106039/
|
|
|
$aliPattern = '/^(25|26|27|28|29|30)\d{14,22}$/';
|
|
|
if (!preg_match($wxPattern, $authCode) && !preg_match($aliPattern, $authCode)) {
|
|
|
$msg = '付款码有问题哦';
|