wjx 1 год назад
Родитель
Сommit
f23b6225df

+ 1 - 2
src/components/QueryForm/index.tsx

@@ -2,7 +2,7 @@ import { Button, Checkbox, Col, DatePicker, Form, Input, InputNumber, Radio, Row
 import React, { useEffect, useState } from "react"
 import React, { useEffect, useState } from "react"
 import moment from "moment"
 import moment from "moment"
 import { useAjax } from "@/Hook/useAjax"
 import { useAjax } from "@/Hook/useAjax"
-import { getAllOfOwnerUserApi, getChannelChoiceListApi, getGameChoiceListApi, getCpChoiceListApi, getGameChoiceParentListType1Api, getPayListApi, getSubUserWithSelfListApi, getTtAllUserListApi, getUserSystemTypeChoiceListApi, getUserVipLevelChoiceListApi, getRoleUserListApi, getGameServerListApi, getGameListApi, getGameServerUnListApi, getAccountListNewApi, getAgentListNewApi, getPitcherListNewApi, getGameListNewApi } from "@/services/gameData"
+import { getAllOfOwnerUserApi, getChannelChoiceListApi, getGameChoiceListApi, getCpChoiceListApi, getGameChoiceParentListType1Api, getPayListApi, getSubUserWithSelfListApi, getTtAllUserListApi, getUserSystemTypeChoiceListApi, getUserVipLevelChoiceListApi, getRoleUserListApi, getGameServerListApi, getGameServerUnListApi, getAccountListNewApi, getAgentListNewApi, getPitcherListNewApi, getGameListNewApi } from "@/services/gameData"
 import { ActiveEnum, DeviceType, LoginType, PayStatus, TYPE, gameClassifyEnum } from "./const"
 import { ActiveEnum, DeviceType, LoginType, PayStatus, TYPE, gameClassifyEnum } from "./const"
 import { ADSTATUSEnum as ADSTTTATUSEnum } from "@/pages/gameDataStatistics/adlist/monitor/const"
 import { ADSTATUSEnum as ADSTTTATUSEnum } from "@/pages/gameDataStatistics/adlist/monitor/const"
 import { ADSTATUSEnum } from "@/pages/gameDataStatistics/adlist/tencentMonitor/const"
 import { ADSTATUSEnum } from "@/pages/gameDataStatistics/adlist/tencentMonitor/const"
@@ -260,7 +260,6 @@ const QueryForm: React.FC<Props> = (props) => {
     const getCpChoiceList = useAjax(() => getCpChoiceListApi())
     const getCpChoiceList = useAjax(() => getCpChoiceListApi())
     const getPayList = useAjax(() => getPayListApi())
     const getPayList = useAjax(() => getPayListApi())
     const getUserVipLevelChoiceList = useAjax(() => getUserVipLevelChoiceListApi())
     const getUserVipLevelChoiceList = useAjax(() => getUserVipLevelChoiceListApi())
-    const getGameList = useAjax(() => getGameListApi())
     const getRoleUserList = useAjax((params) => getRoleUserListApi(params))
     const getRoleUserList = useAjax((params) => getRoleUserListApi(params))
     const getGameServerList = useAjax((params) => getGameServerListApi(params))
     const getGameServerList = useAjax((params) => getGameServerListApi(params))
     const getGameServerUnList = useAjax((params) => getGameServerUnListApi(params))
     const getGameServerUnList = useAjax((params) => getGameServerUnListApi(params))

+ 1 - 1
src/pages/gameDataStatistics/roleOperate/pack/index.tsx

@@ -1,6 +1,6 @@
 import { useAjax } from "@/Hook/useAjax"
 import { useAjax } from "@/Hook/useAjax"
 import Tables from "@/components/Tables"
 import Tables from "@/components/Tables"
-import { getGameListApi, getGameListNewApi } from "@/services/gameData"
+import { getGameListNewApi } from "@/services/gameData"
 import { GetPackProps, delPackApi, getPackListApi } from "@/services/gameData/roleOperate"
 import { GetPackProps, delPackApi, getPackListApi } from "@/services/gameData/roleOperate"
 import { Button, Card, Col, Form, Input, Row, Select, Space, message } from "antd"
 import { Button, Card, Col, Form, Input, Row, Select, Space, message } from "antd"
 import React, { useEffect, useState } from "react"
 import React, { useEffect, useState } from "react"

+ 0 - 9
src/services/gameData/index.ts

@@ -134,15 +134,6 @@ export async function getGameServerUnListApi(params: { gameId: number }) {
     return request(gameApi + `/manage/gameServer/all/server/list`, { method: 'GET', params });
     return request(gameApi + `/manage/gameServer/all/server/list`, { method: 'GET', params });
 }
 }
 
 
-/**
- * 所有类型游戏列表
- * @returns 
- */
-export async function getGameListApi() {
-    return request(gameApi + `/gameData/gameList/list`);
-}
-
-
 // 所有广告账号列表
 // 所有广告账号列表
 export async function getAccountListNewApi(data: { sourceSystem: string }) {
 export async function getAccountListNewApi(data: { sourceSystem: string }) {
     return request(api + `/gameData/choice/account/list`, { method: 'POST', data });
     return request(api + `/gameData/choice/account/list`, { method: 'POST', data });