提交 8538d062b26b267f732b57fc0208e2caf73e573b

作者 wangyu
2 个父辈 54c8b834 fbd6b8a0

Merge branch 'dev_wy' into dev2.0

@@ -397,7 +397,23 @@ Page({ @@ -397,7 +397,23 @@ Page({
397 }, 397 },
398 method: "POST", 398 method: "POST",
399 success: function(res) { 399 success: function(res) {
400 - that.getAdditionInfo() 400 + console.log("success", res)
  401 + if (res.statusCode==200){
  402 + that.getAdditionInfo()
  403 + }else {
  404 + wx.showToast({
  405 + title: "",
  406 + icon: "none"
  407 + })
  408 + }
  409 +
  410 + },
  411 + fail:function(res){
  412 + console.log("fail",res)
  413 + wx.showToast({
  414 + title: "",
  415 + icon:"none"
  416 + })
401 } 417 }
402 }) 418 })
403 }, 419 },
注册登录 后发表评论