api.js 442 B

12345678
  1. // post请求
  2. export const weixinLogin = (params, config = {}) => uni.$u.http.post('/ai-auth/wechat/login', params, config)
  3. // get请求,注意:get请求的配置等,都在第二个参数中
  4. export const getUserInfo = (data) => uni.$u.http.get('/system/user/getInfo', data)
  5. // 获取订单统计数据
  6. export const getPdaOrderStat = (params = {}, config = {}) => uni.$u.http.post('/app/ordersignstat/getPdaOrderStat', params, config)