|
@ -15,9 +15,8 @@ use yii\helpers\Url; |
|
|
'maxCount' => 1, |
|
|
'maxCount' => 1, |
|
|
'fillInAttribute' => 'coverImageId', |
|
|
'fillInAttribute' => 'coverImageId', |
|
|
'model' => $model, |
|
|
'model' => $model, |
|
|
'ruleVerify' => $model->ruleVerify, |
|
|
|
|
|
'previewConfig' => [ |
|
|
'previewConfig' => [ |
|
|
'url' => Url::to(['image-file', 'fileidstr' => $model->coverImageId]), |
|
|
|
|
|
|
|
|
'url' => Url::to(['image-file', 'fileidstr' => $model->coverImageId, 'ruleverify' => $model->ruleVerify]), |
|
|
], |
|
|
], |
|
|
])->label('商品封面图') ?>
|
|
|
])->label('商品封面图') ?>
|
|
|
|
|
|
|
|
@ -30,8 +29,7 @@ use yii\helpers\Url; |
|
|
'maxCount' => 5, |
|
|
'maxCount' => 5, |
|
|
'fillInAttribute' => 'detailImageId', |
|
|
'fillInAttribute' => 'detailImageId', |
|
|
'model' => $model, |
|
|
'model' => $model, |
|
|
'ruleVerify' => $model->ruleVerify, |
|
|
|
|
|
'previewConfig' => [ |
|
|
'previewConfig' => [ |
|
|
'url' => Url::to(['image-file', 'fileidstr' => $model->detailImageId]), |
|
|
|
|
|
|
|
|
'url' => Url::to(['image-file', 'fileidstr' => $model->detailImageId, 'ruleverify' => $model->ruleVerify]), |
|
|
], |
|
|
], |
|
|
])->label('商品详情图') ?>
|
|
|
])->label('商品详情图') ?>
|