xuzhiheng 5 năm trước cách đây
mục cha
commit
9ea5e820ac

+ 1 - 1
src/jfw/modules/app/src/web/templates/vipsubscribe/renew_pay.html

@@ -766,7 +766,7 @@
                     try {
                         if (pay_way == "wx_app") {
                             JyObj.wxPay(r.data.res);
-                        } else {
+                        } else if(pay_way === "ali_app"){
                             JyObj.aliPay(r.data.res)
                         }
                         //校验是否支付完成

+ 2 - 0
src/jfw/modules/app/src/web/templates/vipsubscribe/vip_upgrade.html

@@ -1247,6 +1247,8 @@
 		    					if(cityLen > cityCount){
 					    			let reduce = cityLen - cityCount;
 					    			areasObj[province] = citys.slice(0, -reduce);
+					    		}else{
+					    			areasObj[province] = citys;
 					    		}
 		    				}
 		    			}

+ 3 - 0
src/web/templates/weixin/vipsubscribe/vip_upgrade.html

@@ -295,6 +295,7 @@
 						},500)*/
 						checkPaySuccess(ordercode);
 					}
+				});
   			}   
 		}catch(e){
 		  console.log(e)
@@ -1231,6 +1232,8 @@
 		    					if(cityLen > cityCount){
 					    			let reduce = cityLen - cityCount;
 					    			areasObj[province] = citys.slice(0, -reduce);
+					    		}else{
+					    			areasObj[province] = citys;
 					    		}
 		    				}
 		    			}