From 28b2bf0937ebb115e25b684d93598b057544eeb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E9=A3=9E=E6=B4=8B?= <15778543+xufeiyang6017@user.noreply.gitee.com> Date: Mon, 8 Dec 2025 09:56:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E7=8E=B0=E8=BA=AB=E4=BB=BD=E9=80=BB?= =?UTF-8?q?=E8=BE=91=EF=BC=9A=E5=88=9B=E5=BB=BA=E8=B4=A7=E6=BA=90=E6=88=90?= =?UTF-8?q?=E5=8A=9F=E5=90=8E=E8=AE=BE=E7=BD=AE=E5=8D=96=E5=AE=B6=E8=BA=AB?= =?UTF-8?q?=E4=BB=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/create-supply/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pages/create-supply/index.js b/pages/create-supply/index.js index 92e1f36..7ed1d6a 100644 --- a/pages/create-supply/index.js +++ b/pages/create-supply/index.js @@ -146,6 +146,9 @@ Page({ wx.hideLoading(); console.log('创建货源成功:', res); + // 创建货源成功后,将用户类型设置为seller + API.updateUserType('seller'); + // 保存到本地存储 this.saveToLocalStorage(productData, res);