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)