|
|
@@ -28,7 +28,7 @@ class CategoryController extends BaseController
|
|
|
{
|
|
|
$id = Yii::$app->request->get('categoryId', 0);
|
|
|
$category = CategoryService::getById($id);
|
|
|
- CategoryService::valid($id, $this->merchantId);
|
|
|
+ CategoryService::valid($category, $this->merchantId);
|
|
|
$info = CategoryService::getInfo($id);
|
|
|
util::success($info);
|
|
|
}
|