|
|
@@ -58,11 +58,7 @@ class GoodsCategoryController extends Backend
|
|
|
*/
|
|
|
public function edit()
|
|
|
{
|
|
|
- if ($this->service->edit()) {
|
|
|
- return message($this->service->getError() ?: '操作成功', true);
|
|
|
- } else {
|
|
|
- return message($this->service->getError() ?: '操作失败', false);
|
|
|
- }
|
|
|
+ $this->service->edit();
|
|
|
}
|
|
|
|
|
|
/**
|