mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-10-02 02:06:38 +08:00
Payment method validation updated
This commit is contained in:
parent
2fdfb0e9c1
commit
8eef8b3495
@ -41,7 +41,7 @@ let util = {
|
||||
if((isWx || !isMobile) && $paytype == 1) {
|
||||
return {'result':true};
|
||||
}
|
||||
if(isMobile && $paytype == 3) {
|
||||
if(isMobile && !isWx && $paytype == 3) {
|
||||
return {'result':true};
|
||||
}
|
||||
if($paytype == 2) {
|
||||
@ -50,13 +50,13 @@ let util = {
|
||||
let message='';
|
||||
switch($paytype) {
|
||||
case "1":
|
||||
message = '请返回电脑端继续当前订单的支付';
|
||||
message = '请返回电脑网页端继续当前订单的支付';
|
||||
break;
|
||||
case "2":
|
||||
message = '请返回支付宝继续当前订单的支付';
|
||||
break;
|
||||
case "3":
|
||||
message = '请返回手机端继续当前订单的支付';
|
||||
message = '请返回手机网页端继续当前订单的支付';
|
||||
break;
|
||||
default:
|
||||
message = '订单已过期,请重新下单';
|
||||
|
Loading…
Reference in New Issue
Block a user