From bf99ae66d14857dfcd97dc6ccb8e82a38d3bd75f Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期五, 19 七月 2024 09:05:46 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 wechat_jiaxuan/pages/userinfo/mysub.js |   19 ++++++++++++++++---
 1 files changed, 16 insertions(+), 3 deletions(-)

diff --git a/wechat_jiaxuan/pages/userinfo/mysub.js b/wechat_jiaxuan/pages/userinfo/mysub.js
index 881c772..49e9b87 100644
--- a/wechat_jiaxuan/pages/userinfo/mysub.js
+++ b/wechat_jiaxuan/pages/userinfo/mysub.js
@@ -1,18 +1,31 @@
-// pages/userinfo/mysub.js
+import { customerLogPage } from '../../api/index'
 Page({
 
   /**
    * 椤甸潰鐨勫垵濮嬫暟鎹�
    */
   data: {
-    activeTabs: '0'
+    activeTabs: '0',
+
+    dataList: [],
+    total: 0,
+    page: 0,
+    capacity: 10,
   },
 
   /**
    * 鐢熷懡鍛ㄦ湡鍑芥暟--鐩戝惉椤甸潰鍔犺浇
    */
   onLoad(options) {
-
+    this.getList()
+  },
+  getList() {
+    const { page,  capacity} = this.data
+    customerLogPage({
+      model: {},page,capacity
+    }).then(res => {
+      this.setData({ dataList: res.data.records })
+    })
   },
   tabsChange(e) {
     const activeTabs = e.currentTarget.dataset.val

--
Gitblit v1.9.3