xiaoe_mp_npm 1.1.11 → 1.1.12-test01

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,7 +7,7 @@
7
7
  * @LastEditTime: 2021-11-18 19:52:02
8
8
  */
9
9
 
10
- import { getGoodsList, requestChangeShow, requestChangePrice } from "../common/api/liveGoodsList"
10
+ import { getGoodsList, getGoodsListNew, requestChangeShow, requestChangePrice } from "../common/api/liveGoodsList"
11
11
  const computedBehavior = require('miniprogram-computed').behavior
12
12
 
13
13
  let activityCountdownTimer = null // 活动倒计时计时器
@@ -725,13 +725,14 @@ Component({
725
725
  },
726
726
  getGoodsList() {
727
727
  let params = {
728
+ app_id: this.data.aliveInfo.app_id,
728
729
  alive_id: this.data.aliveInfo.alive_id,
729
- type: 1,
730
+ user_id: this.data.aliveInfo.user_id,
730
731
  page_size: this.data.page_size,
731
732
  page: this.data.page_index,
732
- port: 2
733
+ port: 1
733
734
  }
734
- getGoodsList(params).then(res => {
735
+ getGoodsListNew(params).then(res => {
735
736
  let { data, code } = res.data
736
737
  if (code === 0) {
737
738
  var total = data[0] ? data[0].total : this.data.total
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xiaoe_mp_npm",
3
- "version": "1.1.11",
3
+ "version": "1.1.12-test01",
4
4
  "description": "",
5
5
  "main": "miniprogram_dist/index.js",
6
6
  "scripts": {
@@ -7,7 +7,7 @@
7
7
  * @LastEditTime: 2021-11-18 19:52:02
8
8
  */
9
9
 
10
- import { getGoodsList, requestChangeShow, requestChangePrice } from "../common/api/liveGoodsList"
10
+ import { getGoodsList, getGoodsListNew, requestChangeShow, requestChangePrice } from "../common/api/liveGoodsList"
11
11
  const computedBehavior = require('miniprogram-computed').behavior
12
12
 
13
13
  let activityCountdownTimer = null // 活动倒计时计时器
@@ -725,13 +725,14 @@ Component({
725
725
  },
726
726
  getGoodsList() {
727
727
  let params = {
728
+ app_id: this.data.aliveInfo.app_id,
728
729
  alive_id: this.data.aliveInfo.alive_id,
729
- type: 1,
730
+ user_id: this.data.aliveInfo.user_id,
730
731
  page_size: this.data.page_size,
731
732
  page: this.data.page_index,
732
- port: 2
733
+ port: 1
733
734
  }
734
- getGoodsList(params).then(res => {
735
+ getGoodsListNew(params).then(res => {
735
736
  let { data, code } = res.data
736
737
  if (code === 0) {
737
738
  var total = data[0] ? data[0].total : this.data.total