|
@ -102,7 +102,6 @@ class GoodsController extends Controller |
|
|
$model->is_taking = Goods::IS_TAKING_NO; |
|
|
$model->is_taking = Goods::IS_TAKING_NO; |
|
|
$model->is_express = Goods::IS_EXPRESS_YES; |
|
|
$model->is_express = Goods::IS_EXPRESS_YES; |
|
|
$model->express_type = Goods::EXPRESS_TYPE_EXPRESS_TEMPLATE; |
|
|
$model->express_type = Goods::EXPRESS_TYPE_EXPRESS_TEMPLATE; |
|
|
$model->limit_count = 0; |
|
|
|
|
|
if ($model->load(Yii::$app->request->post()) && $model->validate()) { |
|
|
if ($model->load(Yii::$app->request->post()) && $model->validate()) { |
|
|
//商品封面图和商品详情图上传保存处理
|
|
|
//商品封面图和商品详情图上传保存处理
|
|
|
$res = GoodsManager::updateGoods(Yii::$app->request->post(), $model); |
|
|
$res = GoodsManager::updateGoods(Yii::$app->request->post(), $model); |
|
|