|
|
@@ -57,33 +57,6 @@ class User extends Controller
|
|
|
return $this->success();
|
|
|
}
|
|
|
|
|
|
-
|
|
|
- /**
|
|
|
- * @api {get} /admin/user 会员列表
|
|
|
- * @apiGroup 会员管理
|
|
|
- *
|
|
|
- * @apiUse result
|
|
|
- * @apiUse header
|
|
|
- * @apiVersion 1.0.0
|
|
|
- *
|
|
|
- * @apiParam {int} [page=1]
|
|
|
- * @apiParam {int} [limit=10]
|
|
|
- * @apiParam {string} [first_name] 用户昵称
|
|
|
- * @apiParam {string} [member_id] 房主 tg会员ID
|
|
|
- * @apiParam {string} [game_id] 游戏ID
|
|
|
- *
|
|
|
- * @apiSuccess (data) {Object} data
|
|
|
- * @apiSuccess (data) {int} data.total 数量
|
|
|
- * @apiSuccess (data) {Object[]} data.data 列表
|
|
|
- * @apiSuccess (data) {int} data.data.id
|
|
|
- * @apiSuccess (data) {int} data.data.member_id tg会员id
|
|
|
- * @apiSuccess (data) {string} data.data.first_name 昵称
|
|
|
- * @apiSuccess (data) {string} data.data.usdt 用户usdt钱包地址
|
|
|
- * @apiSuccess (data) {string} data.data.game_id 游戏ID
|
|
|
- * @apiSuccess (data) {string} data.data.updated_at
|
|
|
- * @apiSuccess (data) {string} data.data.created_at
|
|
|
- * @apiSuccess (data) {string} data.data.secret_key 找回账号的秘钥
|
|
|
- */
|
|
|
public function index(): JsonResponse
|
|
|
{
|
|
|
try {
|
|
|
@@ -104,19 +77,6 @@ class User extends Controller
|
|
|
return $this->success($result);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
- /**
|
|
|
- * @api {post} /admin/user/merge 账户合并
|
|
|
- * @apiGroup 会员管理
|
|
|
- * @apiDescription 合并后,余额,银行卡,USDT地址 将合并到新用户,请谨慎操作
|
|
|
- *
|
|
|
- * @apiUse result
|
|
|
- * @apiUse header
|
|
|
- * @apiVersion 1.0.0
|
|
|
- *
|
|
|
- * @apiParam {string} member_id 接收者的member_id
|
|
|
- * @apiParam {string} secret_key 被合并的用户的秘钥
|
|
|
- */
|
|
|
public function merge(): JsonResponse
|
|
|
{
|
|
|
DB::beginTransaction();
|