From 502f4056d681b27bec8fa1ace2963e2f9db60707 Mon Sep 17 00:00:00 2001
From: odc.xiaohui <xiaohui@Q1>
Date: 星期一, 06 三月 2023 14:45:19 +0800
Subject: [PATCH] Merge branch 'master' of http://42.193.1.25:9521/r/qyjz_applet

---
 miniprogram/pages/user/pubulicty/index.ts |   37 ++++++++++++++++++-------------------
 1 files changed, 18 insertions(+), 19 deletions(-)

diff --git a/miniprogram/pages/user/pubulicty/index.ts b/miniprogram/pages/user/pubulicty/index.ts
index 691b34d..7f880b5 100644
--- a/miniprogram/pages/user/pubulicty/index.ts
+++ b/miniprogram/pages/user/pubulicty/index.ts
@@ -3,24 +3,23 @@
 const userCause = getApp()
 
 Page({
-  data: {
-    causeList:[],
-    isShow:false
-  },
-  // 浜嬩欢澶勭悊鍑芥暟
-  onLoad() {
-    wx.request(  
-        {
-          url:userCause.globalData.url+"/wx/publicity",
-          method:"GET",
-          header:{'token':wx.getStorageSync('token')},
-          success:(res)=>{
-            console.log(res)
-              this.setData({
-                causeList:res.data.data
-              })
-              
-          }
-              })
+    data: {
+        causeList: [],
+        isShow: false
+    },
+    // 浜嬩欢澶勭悊鍑芥暟
+    onLoad() {
+        wx.request(
+            {
+                url: userCause.globalData.url + "/wx/publicity",
+                method: "GET",
+                header: { 'token': wx.getStorageSync('token') },
+                success: (res) => {
+                    console.log(res)
+                    this.setData({
+                        causeList: res.data.data
+                    })
+                }
+            })
     }
 })

--
Gitblit v1.8.0