|
|
@@ -98,7 +98,7 @@ class StoreController extends Backend
|
|
|
public function add()
|
|
|
{
|
|
|
$params = request()->post();
|
|
|
- if ($this->service->add($params)) {
|
|
|
+ if ($this->service->edit($params)) {
|
|
|
return message($this->service->getError(), true);
|
|
|
} else {
|
|
|
return message($this->service->getError(), false);
|