兼容修改
This commit is contained in:
parent
a8d0e921df
commit
a60c047d96
|
|
@ -72,11 +72,12 @@ class DiscSpinningController extends Frontend
|
||||||
$draws = self::draws($count + 1, $orders['pay_money'], $params['sourceId'], $userId, $params['source']);
|
$draws = self::draws($count + 1, $orders['pay_money'], $params['sourceId'], $userId, $params['source']);
|
||||||
$resp = $draws;
|
$resp = $draws;
|
||||||
// $this->receive($draws);
|
// $this->receive($draws);
|
||||||
|
pushQueue(DiscReceiveQueue::class, [
|
||||||
|
'draws' => $resp
|
||||||
|
]);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
pushQueue(DiscReceiveQueue::class, [
|
|
||||||
'draws' => $resp
|
|
||||||
]);
|
|
||||||
$resp = convertToCamelCase($resp);
|
$resp = convertToCamelCase($resp);
|
||||||
$resp['img'] = $resp['img_url'] ?? '';
|
$resp['img'] = $resp['img_url'] ?? '';
|
||||||
$this->successWithData($resp);
|
$this->successWithData($resp);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue