'请填写{attribute}'], ['id', 'integer', 'min' => 1, 'message' => '申请ID格式错误', 'tooSmall' => '申请ID格式错误'], [['batchNo', 'imgType'], 'string', 'max' => 64], ]; } public function attributeLabels() { return [ 'id' => '申请ID', 'batchNo' => '批次号', 'imgType' => '图片类型', ]; } }