Commit 50a4767c by 杨树贤

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

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