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.

21 lines
1004 B

const http = uni.$u.http
export const loginApi = (params, config = {header: {"Content-Type":"application/x-www-form-urlencoded"}}) => http.post('/aichat/login', params, config)
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)
export const getRiskList = (params, config = {}) => http.get('/aichat/get_risk_chat_logs', {params}, config)
export const getRiskSummaryList = (params, config = {}) => http.get('/aichat/chat_logs_summary', {params}, config)
export const getOSSInfo = (params, config = {}) => http.get('/aichat/get_post_signature_for_oss_upload', {params}, config)
export const getImageReco = (params, config = {}) => http.get('/aichat/recognize_content', {params}, config)