hzd 10 months ago
parent
commit
d4e87f7367
1 changed files with 7 additions and 0 deletions
  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:[];
         }