|
|
@ -68,14 +68,14 @@ class GameApiController extends Think {
|
|
|
|
public function send()
|
|
|
|
public function send()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$giftItem = [
|
|
|
|
$giftItem = [
|
|
|
|
'id' => 32,
|
|
|
|
'id' => 119,
|
|
|
|
'index' => 0,
|
|
|
|
'index' => 0,
|
|
|
|
];
|
|
|
|
];
|
|
|
|
$order = [
|
|
|
|
$order = [
|
|
|
|
'id' => 1,
|
|
|
|
'id' => 1,
|
|
|
|
'role_id' => '4294970300',
|
|
|
|
'role_id' => '1000350965',
|
|
|
|
'server_id' => '1',
|
|
|
|
'server_id' => '30004',
|
|
|
|
'user_id' => '402903',
|
|
|
|
'user_id' => '8',
|
|
|
|
];
|
|
|
|
];
|
|
|
|
$client = new GameResource\YjlyClient();
|
|
|
|
$client = new GameResource\YjlyClient();
|
|
|
|
$result = $client->sendEmail($giftItem, $order);
|
|
|
|
$result = $client->sendEmail($giftItem, $order);
|
|
|
|