|
|
@@ -1,17 +1,52 @@
|
|
|
import request from '@/utils/request'
|
|
|
|
|
|
-export function getFastGptPushTokenTotal(query) {
|
|
|
+// 查询列表
|
|
|
+export function listFastgptFastgptpushtokentotal(query) {
|
|
|
return request({
|
|
|
- url: '/qw/qwPushCount/tokenList',
|
|
|
+ url: '/fastGpt/fastGptPushTokenTotal/list',
|
|
|
method: 'get',
|
|
|
params: query
|
|
|
})
|
|
|
}
|
|
|
|
|
|
+// 查询详细
|
|
|
+export function getFastgptFastgptpushtokentotal(id) {
|
|
|
+ return request({
|
|
|
+ url: '/fastGpt/fastGptPushTokenTotal/' + id,
|
|
|
+ method: 'get'
|
|
|
+ })
|
|
|
+}
|
|
|
+
|
|
|
+// 新增
|
|
|
+export function addFastgptFastgptpushtokentotal(data) {
|
|
|
+ return request({
|
|
|
+ url: '/fastGpt/fastGptPushTokenTotal',
|
|
|
+ method: 'post',
|
|
|
+ data: data
|
|
|
+ })
|
|
|
+}
|
|
|
+
|
|
|
+// 修改
|
|
|
+export function updateFastgptFastgptpushtokentotal(data) {
|
|
|
+ return request({
|
|
|
+ url: '/fastGpt/fastGptPushTokenTotal',
|
|
|
+ method: 'put',
|
|
|
+ data: data
|
|
|
+ })
|
|
|
+}
|
|
|
+
|
|
|
+// 删除
|
|
|
+export function delFastgptFastgptpushtokentotal(id) {
|
|
|
+ return request({
|
|
|
+ url: '/fastGpt/fastGptPushTokenTotal/' + id,
|
|
|
+ method: 'delete'
|
|
|
+ })
|
|
|
+}
|
|
|
|
|
|
-export function getFastGptPushTokenDeptTotal(query) {
|
|
|
+// 导出
|
|
|
+export function exportFastgptFastgptpushtokentotal(query) {
|
|
|
return request({
|
|
|
- url: '/qw/qwPushCount/tokenListDept',
|
|
|
+ url: '/fastGpt/fastGptPushTokenTotal/export',
|
|
|
method: 'get',
|
|
|
params: query
|
|
|
})
|