Commit c343d81a authored by leiqingsong's avatar leiqingsong

Merge branch 'dev_wm' into 'master'

提现

See merge request !139
parents f4790acb 15284c28
...@@ -110,7 +110,7 @@ export default { ...@@ -110,7 +110,7 @@ export default {
this.$toast.fail("请输入正确的身份证号"); this.$toast.fail("请输入正确的身份证号");
return; return;
} }
if(!/^[u4e00-u9fa5]{8}/.test(this.form.name)){ if(!/^[a-zA-Z\u4e00-\u9fa5]+$/.test(this.form.name)){
this.$toast.fail("姓名仅支持中文或英文"); this.$toast.fail("姓名仅支持中文或英文");
return; return;
} }
......
...@@ -245,7 +245,8 @@ export default { ...@@ -245,7 +245,8 @@ export default {
this.validCodeDialogShow = false; this.validCodeDialogShow = false;
const params = { const params = {
code: this.validCode, code: this.validCode,
money: this.money money: this.money,
userId:JSON.parse(localStorage.getItem("user")).userId
}; };
cashOut(params) cashOut(params)
.then(res => { .then(res => {
...@@ -256,7 +257,7 @@ export default { ...@@ -256,7 +257,7 @@ export default {
this.resultDialogImg = require("@/assets/images/成功.png"); this.resultDialogImg = require("@/assets/images/成功.png");
} else { } else {
this.resultDialogTitle = "提现失败"; this.resultDialogTitle = "提现失败";
this.resultDialogTip = "提现失败,验证码错误"; this.resultDialogTip = res.message;
this.resultDialogImg = require("@/assets/images/叉号.png"); this.resultDialogImg = require("@/assets/images/叉号.png");
} }
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment