|
|
|
@ -84,14 +84,14 @@ class PlayerRoleService extends Service
|
|
|
|
|
$role->pipuid = $user->puid;
|
|
|
|
|
$role->save();
|
|
|
|
|
|
|
|
|
|
if ($role->game_id) {
|
|
|
|
|
if (in_array($role->game_id, [335, 336])) {
|
|
|
|
|
Lanhuo::addRole([
|
|
|
|
|
'user_id' => 111,
|
|
|
|
|
'server_id' => 1,
|
|
|
|
|
'server_name' => '测试',
|
|
|
|
|
'role_id' => '111',
|
|
|
|
|
'role_name' => '测试',
|
|
|
|
|
'role_level' => 23,
|
|
|
|
|
'user_id' => $role->user_id,
|
|
|
|
|
'server_id' => $role->server_id,
|
|
|
|
|
'server_name' => $role->server_name,
|
|
|
|
|
'role_id' => $role->role_id,
|
|
|
|
|
'role_name' => $role->role_name,
|
|
|
|
|
'role_level' => $role->role_level,
|
|
|
|
|
'profession_id' => '', // 职业ID
|
|
|
|
|
'profession_name' => '', // 职业名称
|
|
|
|
|
'power' => '', // 战力
|
|
|
|
|