fix:user_id数据源从userId改为aboutId
This commit is contained in:
parent
96936262dc
commit
5806420843
@ -253,6 +253,7 @@ export default {
|
|||||||
uni.setStorageSync('phoneNumber', data.phoneNumber || this.formData.account)
|
uni.setStorageSync('phoneNumber', data.phoneNumber || this.formData.account)
|
||||||
uni.setStorageSync('nickName', data.nickName || data.username || data.realname || '')
|
uni.setStorageSync('nickName', data.nickName || data.username || data.realname || '')
|
||||||
uni.setStorageSync('userId', data.id || data.userId || '')
|
uni.setStorageSync('userId', data.id || data.userId || '')
|
||||||
|
uni.setStorageSync('aboutId', data.about_id || '')
|
||||||
uni.setStorageSync('lastSubmitTime', Date.now())
|
uni.setStorageSync('lastSubmitTime', Date.now())
|
||||||
uni.setStorageSync('agreedPrivacy', true)
|
uni.setStorageSync('agreedPrivacy', true)
|
||||||
|
|
||||||
|
|||||||
@ -1951,7 +1951,7 @@ export default {
|
|||||||
const conditionDisplay = (this.currentTab === 'isbn' ? this.conditionValue : this.noIsbnConditionValue).replace('~', '')
|
const conditionDisplay = (this.currentTab === 'isbn' ? this.conditionValue : this.noIsbnConditionValue).replace('~', '')
|
||||||
|
|
||||||
// 构建 form-data 参数
|
// 构建 form-data 参数
|
||||||
const userId = uni.getStorageSync('userId') || ''
|
const userId = uni.getStorageSync('aboutId') || ''
|
||||||
const apiData = {
|
const apiData = {
|
||||||
user_id: userId,
|
user_id: userId,
|
||||||
warehouse_id: String(warehouseData.warehouseId || ''),
|
warehouse_id: String(warehouseData.warehouseId || ''),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user