|
|
@ -108,11 +108,11 @@ class TestingResourceService
|
|
|
|
$gameCatClient = new GameCatClient();
|
|
|
|
$gameCatClient = new GameCatClient();
|
|
|
|
$result = $gameCatClient->api('provide', [
|
|
|
|
$result = $gameCatClient->api('provide', [
|
|
|
|
'roleId' => $role['role_id'],
|
|
|
|
'roleId' => $role['role_id'],
|
|
|
|
'amount' => $order['ref_amount'],
|
|
|
|
'amount' => intval($order['ref_amount']),
|
|
|
|
'supportItem' => $order['ref_id'],
|
|
|
|
'supportItem' => $order['ref_id'],
|
|
|
|
'supportType' => '0',
|
|
|
|
'supportType' => '0',
|
|
|
|
'channelUid' => $role['user_account'],
|
|
|
|
'channelUid' => $role['user_account'],
|
|
|
|
'applyRemark' => $order['remark'],
|
|
|
|
'applyRemark' => $order['remark'] == '' ? '测试资源申请' : $order['remark'],
|
|
|
|
'applyId' => $order['order_no'],
|
|
|
|
'applyId' => $order['order_no'],
|
|
|
|
'device_type' => $role['sdk_version'] == 1 ? 'andriod' : 'ios',
|
|
|
|
'device_type' => $role['sdk_version'] == 1 ? 'andriod' : 'ios',
|
|
|
|
]);
|
|
|
|
]);
|
|
|
|