Browse Source

实现身份逻辑:创建货源成功后设置卖家身份

pull/1/head
徐飞洋 3 months ago
parent
commit
28b2bf0937
  1. 3
      pages/create-supply/index.js

3
pages/create-supply/index.js

@ -146,6 +146,9 @@ Page({
wx.hideLoading();
console.log('创建货源成功:', res);
// 创建货源成功后,将用户类型设置为seller
API.updateUserType('seller');
// 保存到本地存储
this.saveToLocalStorage(productData, res);

Loading…
Cancel
Save