XuChengxiang hace 4 años
padre
commit
4b1b1e2af5
Se han modificado 2 ficheros con 5 adiciones y 1 borrados
  1. 1
    1
      src/pages/WoDe/WoDeGongDan/index.jsx
  2. 4
    0
      src/utils/api.js

+ 1
- 1
src/pages/WoDe/WoDeGongDan/index.jsx Ver fichero

@@ -30,7 +30,7 @@ export default function WoDeGongDan () {
30 30
   return (
31 31
     <Page>
32 32
       <view className='WoDeGongDan'>
33
-        <ScrollPageRefresh IsEmpty={IsEmpty} ApiName={`getGongDanList`} ListName={`pagelist`} RequestUrlData={{ orgId: user.orgId }} RequestParams={{ type: 2 }} Refresh={Refresh} Push={Push}>
33
+      <ScrollPageRefresh IsEmpty={IsEmpty} ApiName={`getGuanJiaGongDanList`} ListName='pagelist' Refresh={Refresh} Push={Push}>
34 34
           <view className='Content Activity'>
35 35
             {
36 36
               PageList.map((item, index) => (

+ 4
- 0
src/utils/api.js Ver fichero

@@ -1,6 +1,10 @@
1 1
 const prefix = `${HOST}/api/wx`
2 2
 
3 3
 const $api = {
4
+  getGuanJiaGongDanList:{ // 获取管家工单列表
5
+    method: 'get',
6
+    url: `${prefix}/life/ticket/list`
7
+  },
4 8
   getUserChangePrizeList: { // 兑换商品记录
5 9
     method: 'get',
6 10
     url: `${prefix}/taPointsExchange`