Commit 98f97dfaf6024f999ffb4f06ac675aa1d8f9f5b4

Authored by vking
1 parent a75dbe39

内容安全检查

... ... @@ -169,9 +169,11 @@ Page({
firstShowMsg:firstShowMsg,
},'/pages/customer/detail_owner')
})
}).catch(()=>{
}).catch((res)=>{
this.hasSubmit=true//出错后可再次提交
return util.toast('提交失败,请重试','none');
if(!res.msgSecCheck){
return util.toast('提交失败,请重试','none');
}
})
},
getRdate(){
... ...
... ... @@ -113,7 +113,7 @@ function rpc(host = '', act, data = {}, fouce = false, header = {}, silence = tr
title:'内容含有违法违规内容',
icon:'none'
})
return fail()
return fail({msgSecCheck:true})
}
}
let openid = wx.getStorageSync('customer_openid');
... ...
... ... @@ -275,6 +275,7 @@ export default {
'App.Customer.SetReserveInfo':{
openid:'openid',
silence:false,
msgSecCheck:true,
},
//获得小程序码
... ...