소스 검색

Merge branch 'dev_wf' of wugg/phpstock into version1.5

wufeng 3 년 전
부모
커밋
41cef3e23d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/admin/controller/Consult.php

+ 1 - 1
app/admin/controller/Consult.php

@@ -1191,7 +1191,7 @@ class Consult extends Base
         //议价备注
         $bargain_remark = isset($this->post['bargain_remark']) && $this->post['bargain_remark'] != "" ? trim($this->post['bargain_remark']) : "";
         //议价原因id
-        $result_info_id = isset($this->post['result_info_id']) && $this->post['result_info_id'] != "" ? intval($this->post['result_info_id']) : "";
+        $result_info_id = isset($this->post['result_info_id']) && $this->post['result_info_id'] != "" ? $this->post['result_info_id'] : "";
         if ($result_info_id != '') {
             $temp = Db::name('result_info')->field('id')->where(['result_code' => $result_info_id, 'type' => 7, 'status' => 1, 'is_del' => 0])->find();//type 7议价原因
             if (empty($temp)) return error_show(1004, "议价原因选择不正确");