Commit bad49c9f by 杨树贤

修复bug

parent 08072c4c
...@@ -37,7 +37,7 @@ class ExchangeSettingsController extends Controller ...@@ -37,7 +37,7 @@ class ExchangeSettingsController extends Controller
{ {
$type = $request->get('type'); $type = $request->get('type');
//is_api是为了告诉服务器是接口去请求 //is_api是为了告诉服务器是接口去请求
$map = $type ? ['type' => $type, 'is_api' => 1] : []; $map = $type ? ['type' => $type, 'is_api' => 1] : ['is_api' => 1];
$exchangeSettings = $this->service->getExchangeSettingList($map); $exchangeSettings = $this->service->getExchangeSettingList($map);
$exchangeSettings = $transformer->transform($exchangeSettings); $exchangeSettings = $transformer->transform($exchangeSettings);
$userId = $request->user->user_id; $userId = $request->user->user_id;
......
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