|
@@ -1,8 +1,14 @@
|
|
import { get, post } from '@/util/request.js'
|
|
import { get, post } from '@/util/request.js'
|
|
|
|
|
|
-// AI聊天(弃用)
|
|
|
|
|
|
+// AI聊天
|
|
export const sendMsgApi = (params, config = {}) => post('/tools/chat/sendMsg', params, config)
|
|
export const sendMsgApi = (params, config = {}) => post('/tools/chat/sendMsg', params, config)
|
|
|
|
|
|
|
|
+// 提示列表
|
|
|
|
+export const msgList = (params, config = {}) => get('/tools/chat/getModuleList', params, config)
|
|
|
|
+
|
|
|
|
+// 获取图片
|
|
|
|
+export const sendMsgPic = (params, config = {}) => post('/tools/chat/sendMsg', params, config)
|
|
|
|
+
|
|
// 查询用户余额
|
|
// 查询用户余额
|
|
export const getUserChatAssetApi = (params, config = {}) => post('/tools/chat/getUserChatAsset', params, config)
|
|
export const getUserChatAssetApi = (params, config = {}) => post('/tools/chat/getUserChatAsset', params, config)
|
|
|
|
|
|
@@ -14,5 +20,3 @@ export const findPromptListApi = (params, config = {}) => post('/tools/chat/find
|
|
|
|
|
|
// 激励视频奖励
|
|
// 激励视频奖励
|
|
export const rewardedVideoAdAssetApi = (params, config = {}) => post('/tools/chat/rewardedVideoAdAsset', params, config)
|
|
export const rewardedVideoAdAssetApi = (params, config = {}) => post('/tools/chat/rewardedVideoAdAsset', params, config)
|
|
-
|
|
|
|
-
|
|
|