route('box'))->id; return [ // // 'box_no' => 'required|unique:box_binding,box_no,' . $id, 'box_no' => 'required', 'batch' => 'required', 'device_xing' => 'required', 'manufacturer' => 'required', 'bluetooth_token' => '', 'bluetooth_mac' => '', 'imei_no' => '', 'iccid_no' => '', 'sim_no' => '', 'imsi_no' => '', 'mold' => 'required', 'merchant_id' => '' ]; } public function attributes() { return [ 'batch' => '批次', 'box_no' => '控制设备编号', 'device_xing' => '中控型号', 'manufacturer' => '厂商', 'mold' => '控制器型号' ]; } }