|
|
@@ -23,10 +23,30 @@ interface AuthenticationServiceInterface
|
|
|
public function queryAuth($user_id, $biz_id);
|
|
|
|
|
|
/**
|
|
|
- * 上报用户行为
|
|
|
- * @param $data
|
|
|
+ * 批量上报游戏用户行为
|
|
|
* @param $biz_id
|
|
|
* @return bool
|
|
|
*/
|
|
|
- public function uploadLoginOut($data, $biz_id): bool;
|
|
|
+ public function uploadLoginOut($biz_id): bool;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 用户上线
|
|
|
+ * @param $biz_id
|
|
|
+ * @param $record_id
|
|
|
+ * @param string $user_tag 用户标识
|
|
|
+ * @param string $user_type 用户类型 1 认证用户 2 游客
|
|
|
+ * @return mixed
|
|
|
+ */
|
|
|
+ public function userUp($biz_id, $record_id, string $user_tag, string $user_type = '1');
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 用户下线
|
|
|
+ * @param $biz_id
|
|
|
+ * @param $record_id
|
|
|
+ * @param string $user_tag 用户标识
|
|
|
+ * @param string $user_type 用户类型 1 认证用户 2 游客
|
|
|
+ * @return mixed
|
|
|
+ */
|
|
|
+ public function userDown($biz_id, $record_id, string $user_tag, string $user_type = '1');
|
|
|
+
|
|
|
}
|