Skip to content

Commit

Permalink
新建的分类404的问题解决
Browse files Browse the repository at this point in the history
  • Loading branch information
fancyecommerce committed Sep 17, 2019
1 parent 3e0a997 commit b6f8563
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions services/category/CategoryMysqldb.php
Expand Up @@ -241,6 +241,7 @@ public function save($one, $originUrlKey = 'catalog/category/index')
}
$one = $this->serializeSaveData($one);
$saveStatus = Yii::$service->helper->ar->save($model, $one);
$primaryVal = $model->id;
$originUrl = $originUrlKey.'?'.$this->getPrimaryKey() .'='. $primaryVal;
$originUrlKey = isset($one['url_key']) ? $one['url_key'] : '';
$defaultLangTitle = Yii::$service->fecshoplang->getDefaultLangAttrVal($one['name'], 'name');
Expand Down

0 comments on commit b6f8563

Please sign in to comment.