request->only(['page' => 1, 'size' => 10, 'cat_id' => '', 'start_date' => '', 'end_date' => '', 'filingCode' => '', 'status' => '', 'good_name' => '', 'companyName' => '', 'companyCode' => '', 'orderCode' => '', 'supplierNo' => ''], 'post'); return FilingLogic::list($param); } //详情 public function detail() { $param = $this->request->only(['id' => 0], 'post', 'trim'); return FilingLogic::detail($param); } //审核 public function status() { $param = $this->request->only(['id', 'status', 'companyCode', 'plat_code' => '', 'service_charge', 'service_proportion','platform_id'], 'post'); $val = Validate::rule([ 'id' => 'require|number|gt:0', 'status|状态' => 'require|number|in:1,2', 'companyCode|客户' => 'require|length:18', 'service_charge|服务费' => 'require|float|egt:0|max:99999999.99', 'service_proportion|服务费比例' => 'require|float|egt:0', 'platform_id|平台id' => 'require|number|gt:0', ]); if (!$val->check($param)) return json_show(1004, $val->getError()); return FilingLogic::status($param); } }