闫增涛
2024-09-18 c96612e8a63ecef9590be0f8b5199277ec94e5b9
assets/js/middleGround/api/store.js
@@ -480,7 +480,6 @@
        }]
      })
    }
    let token = wx.getStorageSync(tokenKey) ? wx.getStorageSync(tokenKey) : '';
    let url = token ? '/store/api/ApiQueryProductByAppUser' : '/store/api/ApiQueryProduct'
    return request({
@@ -488,12 +487,10 @@
        method: 'post',
        data: body,
        cancelToken: source?.token
      })
      .then((resp) => {
    }).then((resp) => {
        if (resp.length > 0) {
          const data = resp[0]
          if (data.datas.length) {
            data.datas[0].subDatas = data.datas[0].cmsDatas
            const datas = handleDetailQueryRequestData({
              item: data.datas[0],