wugg 8 months ago
parent
commit
caeae80a73
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/user/controller/Supplier.php

+ 1 - 1
app/user/controller/Supplier.php

@@ -39,7 +39,7 @@ class Supplier extends Base{
      *              - personid: 负责人id
      */
     public function create(){
-        $param = $this->request->param(["name"=>"","source"=>"","coop_state"=>"","category"=>"","delivery_way"=>"",
+        $param = $this->request->only(["name"=>"","source"=>"","coop_state"=>"","category"=>"","delivery_way"=>"",
         "level"=>"","supplier_type"=>"","pay_type"=>"","registercode"=>"","registertime"=>"","scope"=>"","type"=>"",
         "nature"=>"","legaler"=>"","addr"=>"","prove_img"=>"","license_img"=>"","contactor"=>"","mobile"=>"",
         "telephone"=>"","position"=>"","email"=>"",'personid'=>''],"post","trim");