hzd 10 bulan lalu
induk
melakukan
d4e87f7367
1 mengubah file dengan 7 tambahan dan 0 penghapusan
  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:[];
         }