Commit 4a1b1113e4be68d24ec303d7f813ddc1acb1a88d

Authored by yvan.ni
1 parent 60a0508b

消费密码不待参数

pages/user/userinfo/userinfo.js
@@ -968,7 +968,7 @@ Page({ @@ -968,7 +968,7 @@ Page({
968 store_id: r.stoid, 968 store_id: r.stoid,
969 user_id: getApp().globalData.user_id, 969 user_id: getApp().globalData.user_id,
970 vipnopwd: isstcsp, 970 vipnopwd: isstcsp,
971 - vippass: consumption, //消费密码 971 + //vippass: consumption, //消费密码
972 sex: sex, //性别 972 sex: sex, //性别
973 vipname: user_name, //昵称 973 vipname: user_name, //昵称
974 idcard: identity_card, //身份证 974 idcard: identity_card, //身份证
@@ -977,6 +977,12 @@ Page({ @@ -977,6 +977,12 @@ Page({
977 islunar:th.data.iscalendar, 977 islunar:th.data.iscalendar,
978 birthday:th.data.datet 978 birthday:th.data.datet
979 } 979 }
  980 +
  981 + if (isstcsp == 1) {
  982 + datas.vippass=consumption;
  983 + }
  984 +
  985 +
980 //往上提交美导的ID 986 //往上提交美导的ID
981 if(th.data.fir_guide_id!=th.data.user.staffId){ 987 if(th.data.fir_guide_id!=th.data.user.staffId){
982 datas.staffId=th.data.user.staffId; 988 datas.staffId=th.data.user.staffId;