瀏覽代碼

no message

MS-PDRLKVHCADMG\Administrator 5 年之前
父節點
當前提交
52df0baf70
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      api/application/controllers/Lampcontrol.php

+ 1 - 0
api/application/controllers/Lampcontrol.php

@@ -899,6 +899,7 @@ class Lampcontrol extends Base_Controller {
 
         $data["manu"] = $this->get_manu_by_address($data["address"]);
 
+        if (empty($data["manu"])) exit(json_result('0423',$this->response['0423']));
         $role = $this->get_user_info('role');
         $company = $this->get_user_info('company');
         if ($role != SYSTEM_ADMIN) {