Commit 1a2596dd authored by ZhuChunYang's avatar ZhuChunYang

update

parent 5c968ee3
......@@ -38,7 +38,7 @@ class UploadForm extends BaseForm
public function rules()
{
return [
[['file'],'file', 'skipOnEmpty' => false, 'extensions' => 'jpg, png, gif', 'on'=>[self::SCENARIO_UPLOAD_IMAGE]],
[['file'],'file', 'skipOnEmpty' => false, 'on'=>[self::SCENARIO_UPLOAD_IMAGE]],
['isSave', 'default', 'value' => 1],
['image_type', 'default', 'value' => 1],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment