|
|
|
@ -103,23 +103,23 @@ class TestingResourceService
|
|
|
|
|
'roleId' => $role['role_id'],
|
|
|
|
|
'amount' => $order['ref_amount'],
|
|
|
|
|
'supportItem' => $order['ref_id'],
|
|
|
|
|
'supportType' => 0,
|
|
|
|
|
'supportType' => '0',
|
|
|
|
|
'channelUid' => $role['user_id'],
|
|
|
|
|
'applyRemark' => $order['remark'],
|
|
|
|
|
'applyId' => $order['order_no'],
|
|
|
|
|
'device_type' => $deviceType,
|
|
|
|
|
'device_type' => $role['sdk_version'] == 1 ? 'andriod' : 'ios',
|
|
|
|
|
]);
|
|
|
|
|
if ($result['code'] == 1 && $result['data']) {
|
|
|
|
|
if ($result['state'] == 1 && $result['data']) {
|
|
|
|
|
return [
|
|
|
|
|
'status' => true,
|
|
|
|
|
'message' => $result['message'],
|
|
|
|
|
'message' => $result['msg'],
|
|
|
|
|
'code' => 1,
|
|
|
|
|
];
|
|
|
|
|
} else {
|
|
|
|
|
return [
|
|
|
|
|
'status' => false,
|
|
|
|
|
'message' => $result['message'],
|
|
|
|
|
'code' => $result['code'],
|
|
|
|
|
'msg' => $result['msg'],
|
|
|
|
|
'code' => $result['state'],
|
|
|
|
|
];
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|