@@ -1,6 +1,6 @@
{
"name" : "zlty",
- "appid" : "",
+ "appid" : "__UNI__FAC93E0",
"description" : "",
"versionName" : "1.0.0",
"versionCode" : "100",
@@ -131,13 +131,22 @@
method: 'POST',
data: that.param,
success: (res) => {
- uni.showToast({
- title: '提交成功',
- mask: true,
- icon: 'success',
- duration: 2000
- })
- console.log(res)
+ if(res.data.code!=200){
+ uni.showToast({
+ title: res.data.msg,
+ mask: true,
+ icon: 'error',
+ duration: 2000
+ })
+ }
+ else{
+ title: '提交成功',
+ icon: 'success',
}
})
uni.hideLoading()