UNPKG

xlb-main-login

Version:

``` yarn install ```

31 lines (27 loc) 721 B
import { wei_url } from './config' import { axios } from '@/utils/request' // 添加图片 export function uploadMenuImage(data) { return axios({ headers: { 'Content-Type': 'application/json;charset=UTF-8' }, url: wei_url + '/demo-utils/v1/file/config/f/file/', method: 'post', data, }) } // 获取微信表单 export function weimenulist() { return axios({ url: wei_url + '/demo-wx-config/v1/menu/list', method: 'get', }) } // 发送给微信 export function savemenulist(data) { return axios({ headers: { 'Content-Type': 'application/json;charset=UTF-8' }, url: wei_url + '/demo-wx-config/v1/menu/push', method: 'post', data, }) }