Browse Source

Signed-off-by: 1004749546@qq.com <1004749546@qq.com>
bug修改

1004749546@qq.com 4 years ago
parent
commit
d065c841d6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libs/axios.js

+ 1 - 1
libs/axios.js

@@ -55,7 +55,7 @@ const request = (opts, hasToken) => {
 						}
 						}
 					}
 					}
 					else{
 					else{
-						if(!(ret.status == 500 && opts.url.indexOf("store/validateStoreAndDevice")>=0)){
+						if(!(ret.status == 500 && opts.url.indexOf("store/validateStoreAndDevice")>=0)||(!(opts.url.indexOf("couponReceives/findUsableCoupon")>=0))){
 							uni.showToast({
 							uni.showToast({
 								icon:'none',
 								icon:'none',
 								title: ret.message,
 								title: ret.message,