Commit 50a4767c by 杨树贤

修改时间以及修复好友助力列表data问题

parent 229158d8
...@@ -30,7 +30,7 @@ class AssistsController extends Controller ...@@ -30,7 +30,7 @@ class AssistsController extends Controller
$pageSize = $request->get('page_size', self::DEFAULT_PAGE_SIZE); $pageSize = $request->get('page_size', self::DEFAULT_PAGE_SIZE);
if ($request->has('is_api') && $request->is_api) { if ($request->has('is_api') && $request->is_api) {
$exchangeId = $request->get('exchange_id'); $exchangeId = $request->get('exchange_id');
$result = $assist->getAssistListForApi($exchangeId); $result = ['data' => $assist->getAssistListForApi($exchangeId)];
} else { } else {
$result = $assist->getAssistList($page, $pageSize, $filter); $result = $assist->getAssistList($page, $pageSize, $filter);
} }
......
...@@ -29,7 +29,7 @@ class ResetExchangeSettingsCronJob extends CronJob ...@@ -29,7 +29,7 @@ class ResetExchangeSettingsCronJob extends CronJob
public function run() public function run()
{ {
//判断是否是10点,如果是10点就进行重置任务 //判断是否是10点,如果是10点就进行重置任务
$time = Carbon::create(null, null, null, 15, 30); $time = Carbon::create(null, null, null, 10);
$time = $time->timestamp; $time = $time->timestamp;
$now = Carbon::now()->timestamp; $now = Carbon::now()->timestamp;
if ($time === $now) { if ($time === $now) {
......
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