Browse Source

deat:微信附件下载留资判断

malin 3 years ago
parent
commit
b240ffa9a3
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/jfw/modules/app/src/web/templates/weixin/wxinfocontent.html

+ 4 - 0
src/jfw/modules/app/src/web/templates/weixin/wxinfocontent.html

@@ -2696,6 +2696,10 @@
           source: 'article_attach_freeuser'
         },
         success: function (res) {
+            // 判断当前信息否在其他页面留资  如果全部留资 直接弹窗提交成功
+          if(res.info.branch && res.info.company && res.info.name && res.info.phone && res.info.position){
+            return true
+          }
           if (res.error_code == 0) {
             if (res.data) {
               callback && callback(res.data)