Commit 98f97dfaf6024f999ffb4f06ac675aa1d8f9f5b4

Authored by vking
1 parent a75dbe39

内容安全检查

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