'require', 'mer_name' => 'require', 'phone' => 'require', 'settle_cycle' => 'require', 'address' => 'require', 'mark' => 'require', 'status' => 'require', ]; /** * 参数描述 * @var string[] */ protected $field = [ 'id' => 'id', 'mer_name' => '商户名称', 'phone' => '商户电话', 'settle_cycle' => '结算周期,单位天', 'address' => '商户地址', 'mark' => '商户备注', 'status' => '状态', ]; /** * @notes 添加场景 * @return SupplierValidate * @author admin * @date 2024/08/15 14:10 */ public function sceneAdd() { return $this->only(['mer_name','phone','settle_cycle','address']); } /** * @notes 编辑场景 * @return SupplierValidate * @author admin * @date 2024/08/15 14:10 */ public function sceneEdit() { return $this->only(['id','mer_name','phone','settle_cycle','address']); } /** * @notes 删除场景 * @return SupplierValidate * @author admin * @date 2024/08/15 14:10 */ public function sceneDelete() { return $this->only(['id']); } /** * @notes 详情场景 * @return SupplierValidate * @author admin * @date 2024/08/15 14:10 */ public function sceneDetail() { return $this->only(['id']); } }