dingxin 5 years ago
parent
commit
295835045f
1 changed files with 1 additions and 10 deletions
  1. 1
    10
      src/pages/channel/recommendClients.jsx

+ 1
- 10
src/pages/channel/recommendClients.jsx View File

91
   },
91
   },
92
 ];
92
 ];
93
 
93
 
94
-// 跳转到编辑商品
95
-function toEditGoods() {
96
-  router.push({
97
-    pathname: '/channel/addChannel',
98
-    query: {
99
-      a: 'b',
100
-    },
101
-  });
102
-}
103
 const header = props => {
94
 const header = props => {
104
   // eslint-disable-next-line react-hooks/rules-of-hooks
95
   // eslint-disable-next-line react-hooks/rules-of-hooks
105
   const [data, setData] = useState({})
96
   const [data, setData] = useState({})
111
 
102
 
112
   function getList(params) {
103
   function getList(params) {
113
     request({
104
     request({
114
-      url: '/api/admin/customer/recommend/recommender',
105
+      url: `/api/admin/customer/recommend/${props.location.query.id}`,
115
       method: 'GET',
106
       method: 'GET',
116
       params: { ...params },
107
       params: { ...params },
117
   // eslint-disable-next-line no-shadow
108
   // eslint-disable-next-line no-shadow