Commit 3980aed2 by 杨树贤

配合服务解决$request->all()的代码问题(后台部分暂时没有解决)

parent 1007f502
......@@ -63,7 +63,7 @@ class ExchangeSettingsApiController extends Controller
{
$id = $request->id;
$status = $request->status;
$path = '/exchange_settings/update?id=' . $id;
$path = '/exchange_settings/updateStatus?id=' . $id;
$result = $this->service->changeExchangeSettingStatus($path, ['status' => $status]);
return $result;
......
......@@ -68,7 +68,7 @@ class IntegralsApiController extends Controller
{
$id = $request->id;
$status = $request->status;
$path = 'integrals/update?id=' . $id;
$path = 'integrals/updateStatus?id=' . $id;
$result = $this->service->changeIntegralStatus($path, ['status' => $status]);
return $result;
......
......@@ -48,7 +48,7 @@ class UserIntegralsApiController extends Controller
{
$id = $request->id;
$status = $request->status;
$path = 'user_integrals/update?id=' . $id;
$path = 'user_integrals/updateStatus?id=' . $id;
$result = $this->service->changeUserIntegralStatus($path, ['status' => $status]);
return $result;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment