You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
422 B

5 months ago
const http = uni.$u.http
// post请求获取菜单
4 months ago
export const getDictByKey = (params, config = {}) => http.post('/userapi/getDictByKey', params, config)
export const getAIReply = (params, config = {header: {"Content-Type":"application/x-www-form-urlencoded"}}) => http.post('/aichat/reply', params, config)
export const getChatLog = (params, config = {}) => http.get('/aichat/get_chat_log', {params}, config)
5 months ago