From 5b219a9694c8d69db42e746a654c779cc6a61bf6 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期四, 18 七月 2024 18:42:20 +0800
Subject: [PATCH] ‘’

---
 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