From 237d785a4fb8c838a62b7ca8c20b6e5f274791c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=96=B9=E6=88=90?= Date: Mon, 5 Jan 2026 01:09:47 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E6=8A=96=E9=9F=B3?= =?UTF-8?q?=E8=AE=A2=E5=8D=95=E7=BB=91=E5=AE=9A=E5=8A=9F=E8=83=BD=E5=B9=B6?= =?UTF-8?q?=E6=94=B9=E8=BF=9BRPC=E6=97=A5=E5=BF=97=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/appUser.js | 7 ++++ pages/mine/index.vue | 69 +++++++++++++++++++++++++++++++++++---- uni.scss | 73 +++++++++++++++++++++++------------------- utils/nakamaManager.js | 6 +++- 4 files changed, 114 insertions(+), 41 deletions(-) diff --git a/api/appUser.js b/api/appUser.js index f7332f0..890e268 100644 --- a/api/appUser.js +++ b/api/appUser.js @@ -372,3 +372,10 @@ export function purchaseGamePass(package_id, count = 1) { return authRequest({ url: '/api/app/game-passes/purchase', method: 'POST', data: { package_id, count } }) } +/** + * 绑定抖音订单获取抖音用户ID + * @param {string} shop_order_id - 抖音订单号 + */ +export function bindDouyinOrder(order_id) { + return authRequest({ url: '/api/app/users/douyin/bind-order', method: 'POST', data: { order_id } }) +} diff --git a/pages/mine/index.vue b/pages/mine/index.vue index ce2bba8..a2a9d47 100644 --- a/pages/mine/index.vue +++ b/pages/mine/index.vue @@ -175,12 +175,18 @@ 收货地址 - - - - - 帮助中心 - + + + + + 帮助中心 + + + + + + {{ douyinUserId ? '已绑定' : '绑定订单' }} + @@ -468,7 +474,7 @@