hzd 10 月之前
父節點
當前提交
d4e87f7367
共有 1 個文件被更改,包括 7 次插入0 次删除
  1. 7 0
      application/common/model/PatrolTask.php

+ 7 - 0
application/common/model/PatrolTask.php

@@ -307,8 +307,15 @@ class PatrolTask extends Base {
             }else{
                 $addrList[$k]['type'] = 0;
             }
+
             $addrList[$k]['addrCode'] = get_qrcode_str('address',$v['patrol_addr_id']);
 
+            $platform = input("platform",'','trim');
+            if($platform != "iOS"){
+                $addrList[$k]['addrCode'] = str_ireplace('_','+',$addrList[$k]['addrCode']);
+            }
+
+
             $formList = $this->forms($v['patrol_addr_form_id']);
             $addrList[$k]['formList'] = $formList?$formList:[];
         }