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