master
elf 2 years ago
parent c4afdb7ec3
commit 9f6307850f

@ -59,13 +59,13 @@ class JinlingCommand extends HyperfCommand
'power' => '', // 战力
]); */
Lanhuo::addLoginLog([
/* Lanhuo::addLoginLog([
'user_id' => 111,
'account' => 'bbbbbbbabc111',
'phone' => '18888888888',
'device_type' => 2, // 设备类型(1-andriod 2-ios)
'device_number' => 'ABCD',
]);
]); */
/* Lanhuo::updateUser([
'user_id' => 111,
@ -92,5 +92,7 @@ class JinlingCommand extends HyperfCommand
'pay_time' => date('Y-m-d H:i:s'),
'status' => 1, //支付状态(待支付 0 已支付 1 支付失败 2)
]); */
var_dump(Lanhuo::auth());
}
}

@ -93,7 +93,7 @@ class Lanhuo
return self::api('/llwf/role/add', $params);
}
private static function auth()
public static function auth()
{
$params = [
'appId' => config('clients.lanhuo.app_id', ''),

Loading…
Cancel
Save