1234567 |
- const { http } = uni.$u
- // 获取菜单
- export const wxLogin = (params, config = {}) => http.get('api/show/wx/login', {params}, config)
- export const userInfo = (params, config = {}) => http.get('api/wx/userInfo', {params}, config)
- export const logout = (params, config = {}) => http.get('api/wx/logout', {params}, config)
- export const updateWxUser = (params, config = {}) => http.post('api/wx/updateWxUser', params, config)
- export const fetchMenu = (params, config = {}) => http.post('/ebapi/public_api/index', params, config)
|