dna-api 0.3.7 → 0.3.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +3 -3
- package/dist/index.js.map +4 -4
- package/dist/modules/game.d.ts +2 -2
- package/dist/modules/home.d.ts +1 -1
- package/dist/type-generated.d.ts +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -48,11 +48,11 @@ export declare class DNAAPI extends DNABaseAPI {
|
|
|
48
48
|
updateMhSwitchStatus(config: string): Promise<import("./TimeBasicResponse").TimeBasicResponse<any>>;
|
|
49
49
|
soulTask(): Promise<import("./TimeBasicResponse").TimeBasicResponse<import("./type-generated").DNASoulTaskBean>>;
|
|
50
50
|
defaultRoleForTool(type?: number, otherUserId?: string): Promise<import("./TimeBasicResponse").TimeBasicResponse<import("./type-generated").DNARoleEntity>>;
|
|
51
|
-
getRoleDetail(char_id: string, char_eid: string, otherUserId?: string): Promise<import("./TimeBasicResponse").TimeBasicResponse<import("./type-generated").DNACharDetailEntity>>;
|
|
52
|
-
getWeaponDetail(weapon_id: string, weapon_eid: string, otherUserId?: string): Promise<import("./TimeBasicResponse").TimeBasicResponse<import("./type-generated").DNAWeaponDetailEntity>>;
|
|
51
|
+
getRoleDetail(char_id: string | number, char_eid: string, otherUserId?: string): Promise<import("./TimeBasicResponse").TimeBasicResponse<import("./type-generated").DNACharDetailEntity>>;
|
|
52
|
+
getWeaponDetail(weapon_id: string | number, weapon_eid: string, otherUserId?: string): Promise<import("./TimeBasicResponse").TimeBasicResponse<import("./type-generated").DNAWeaponDetailEntity>>;
|
|
53
53
|
getShortNoteInfo(): Promise<import("./TimeBasicResponse").TimeBasicResponse<import("./type-generated").DNAShortNoteEntity>>;
|
|
54
54
|
getPostList(forumId?: number, pageIndex?: number, pageSize?: number, searchType?: number, timeType?: number): Promise<import("./TimeBasicResponse").TimeBasicResponse<import("./type-generated").DNADiscussAreaResponse>>;
|
|
55
|
-
getPostDetail(postId: string): Promise<import("./TimeBasicResponse").TimeBasicResponse<import("./type-generated").DNAPostDetailResponse>>;
|
|
55
|
+
getPostDetail(postId: string | number): Promise<import("./TimeBasicResponse").TimeBasicResponse<import("./type-generated").DNAPostDetailResponse>>;
|
|
56
56
|
getPostByTopic(topicId?: number, pageIndex?: number, pageSize?: number, searchType?: number, timeType?: number): Promise<import("./TimeBasicResponse").TimeBasicResponse<import("./type-generated").DNATopicListResponse>>;
|
|
57
57
|
getTaskProcess(): Promise<import("./TimeBasicResponse").TimeBasicResponse<import("./type-generated").DNAUserTaskProcessEntity>>;
|
|
58
58
|
haveSignIn(): Promise<import("./TimeBasicResponse").TimeBasicResponse<import("./type-generated").DNASignInBean>>;
|
package/dist/index.js.map
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
"export enum RespCode {\n ERROR = -999,\n OK_ZERO = 0,\n OK_HTTP = 200,\n BAD_REQUEST = 400,\n SERVER_ERROR = 500,\n}\n\nexport class TimeBasicResponse<T = any> {\n code: number = 0\n msg: string = \"\"\n data?: T\n\n constructor(raw_data: any) {\n this.code = raw_data.code || 0\n this.msg = raw_data.msg || \"\"\n this.data = raw_data.data\n }\n\n get is_success(): boolean {\n return this.code === RespCode.OK_HTTP || this.code === RespCode.OK_ZERO\n }\n\n get success(): boolean {\n return this.is_success\n }\n\n static err<T = undefined>(msg: string, code: number = RespCode.ERROR): TimeBasicResponse<T> {\n return new TimeBasicResponse<T>({ code, msg, data: undefined })\n }\n}\n",
|
|
6
6
|
"import * as forge from \"node-forge\"\n\nexport interface RequestOptions {\n method?: \"GET\" | \"POST\"\n sign?: boolean\n file?: File\n tokenSig?: boolean\n h5?: boolean\n token?: boolean\n refer?: boolean\n params?: Record<string, any>\n max_retries?: number\n retry_delay?: number\n timeout?: number\n}\n\nexport interface HeadersPayload {\n headers: Record<string, any>\n payload: string | FormData | undefined\n}\n\nexport function rsa_encrypt(text: string, public_key_b64: string): string {\n try {\n const lines: string[] = []\n for (let i = 0; i < public_key_b64.length; i += 64) {\n lines.push(public_key_b64.slice(i, i + 64))\n }\n const pem = `-----BEGIN PUBLIC KEY-----\\n${lines.join(\"\\n\")}\\n-----END PUBLIC KEY-----`\n\n const publicKey = forge.pki.publicKeyFromPem(pem)\n const textBytes = forge.util.encodeUtf8(text)\n const encrypted = publicKey.encrypt(textBytes)\n\n return forge.util.encode64(encrypted)\n } catch (e) {\n throw new Error(`[DNA] RSA 加密失败: ${(e as Error).message}`)\n }\n}\n\nexport function rand_str(length: number = 16): string {\n const chars = \"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789\"\n let result = \"\"\n for (let i = 0; i < length; i++) {\n result += chars.charAt(Math.floor(Math.random() * chars.length))\n }\n return result\n}\n\nexport function md5_upper(text: string): string {\n const md = forge.md.md5.create()\n md.update(text)\n return md.digest().toHex().toUpperCase()\n}\n\nexport function signature_hash(text: string): string {\n function swap_positions(text: string, positions: number[]): string {\n const chars = text.split(\"\")\n for (let i = 1; i < positions.length; i += 2) {\n const p1 = positions[i - 1]\n const p2 = positions[i]\n if (p1 >= 0 && p1 < chars.length && p2 >= 0 && p2 < chars.length) {\n ;[chars[p1], chars[p2]] = [chars[p2], chars[p1]]\n }\n }\n return chars.join(\"\")\n }\n return swap_positions(md5_upper(text), [1, 13, 5, 17, 7, 23])\n}\n\nfunction sign_fI(data: Record<string, any>, secret: string): string {\n const pairs: string[] = []\n const sortedKeys = Object.keys(data).sort()\n for (const k of sortedKeys) {\n const v = data[k]\n if (v !== null && v !== undefined && v !== \"\") {\n pairs.push(`${k}=${v}`)\n }\n }\n const qs = pairs.join(\"&\")\n return signature_hash(`${qs}&${secret}`)\n}\n\nexport function build_signature(data: Record<string, any>, token?: string): Record<string, any> {\n const ts = Date.now()\n const sign_data = { ...data, timestamp: ts, token }\n const sec = rand_str(16)\n const sig = sign_fI(sign_data, sec)\n const enc = xor_encode(sig, sec)\n return { s: enc, t: ts, k: sec }\n}\n// 构建上传图片签名(返回签名和密钥)\nexport function build_upload_signature(public_key: string): { signature: string; key: string } {\n const key = rand_str(16)\n const encrypted = rsa_encrypt(key, public_key)\n const signature = swapForUploadImgApp(encrypted)\n return { signature, key }\n}\n\n// 上传图片签名 - 字符交换\nexport function swapForUploadImgApp(text: string): string {\n const chars = text.split(\"\")\n const swaps = [\n [3, 23],\n [11, 32],\n [22, 42],\n [25, 48],\n ]\n for (const [p1, p2] of swaps) {\n if (p1 < chars.length && p2 < chars.length) {\n ;[chars[p1], chars[p2]] = [chars[p2], chars[p1]]\n }\n }\n return chars.join(\"\")\n}\n\n// AES 解密图片 URL\nexport function aesDecryptImageUrl(encryptedUrl: string, key: string): string {\n const swapped = swapForUploadImgApp(encryptedUrl)\n\n const encryptedData = forge.util.decode64(swapped)\n\n const decipher = forge.cipher.createDecipher(\"AES-CBC\", key)\n decipher.start({ iv: \"A-16-Byte-String\" })\n decipher.update(forge.util.createBuffer(encryptedData))\n decipher.finish()\n\n return decipher.output.getBytes()\n}\n\n// XOR编码函数\nfunction xor_encode(text: string, key: string): string {\n const encoder = new TextEncoder()\n const tb = encoder.encode(text)\n const kb = encoder.encode(key)\n const out: string[] = []\n for (let i = 0; i < tb.length; i++) {\n const b = tb[i]\n const e = (b & 255) + (kb[i % kb.length] & 255)\n out.push(`@${e}`)\n }\n return out.join(\"\")\n}\n",
|
|
7
7
|
"import { TimeBasicResponse, RespCode } from \"../TimeBasicResponse\"\nimport { DNACommonConfigEntity } from \"../type-generated\"\nimport { build_signature, build_upload_signature, rsa_encrypt, RequestOptions, HeadersPayload, aesDecryptImageUrl } from \"./utils\"\n\nexport class DNABaseAPI {\n public fetchFn?: typeof fetch\n public is_h5 = false\n public RSA_PUBLIC_KEY =\n \"MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDGpdbezK+eknQZQzPOjp8mr/dP+QHwk8CRkQh6C6qFnfLH3tiyl0pnt3dePuFDnM1PUXGhCkQ157ePJCQgkDU2+mimDmXh0oLFn9zuWSp+U8uLSLX3t3PpJ8TmNCROfUDWvzdbnShqg7JfDmnrOJz49qd234W84nrfTHbzdqeigQIDAQAB\"\n public BASE_URL = \"https://dnabbs-api.yingxiong.com/\"\n public uploadKey: string = \"\"\n public sign_api_urls = new Set<string>()\n\n constructor(\n public dev_code: string,\n public token = \"\",\n options: { fetchFn?: typeof fetch; is_h5?: boolean; rsa_public_key?: string } = {},\n ) {\n this.fetchFn = options.fetchFn\n if (options.is_h5 !== undefined) this.is_h5 = options.is_h5\n if (options.rsa_public_key !== undefined) this.RSA_PUBLIC_KEY = options.rsa_public_key\n }\n\n async fileUpload(url: string, data: FormData) {\n const res = await this._dna_request<string[]>(url, data, { sign: true })\n if (res.is_success && res.data) {\n res.data = res.data.map((url) => aesDecryptImageUrl(url, this.uploadKey))\n }\n return res\n }\n\n async getRsaPublicKey() {\n if (this.RSA_PUBLIC_KEY) {\n return this.RSA_PUBLIC_KEY\n }\n const res = await this._dna_request<{ key: string }>(\"config/getRsaPublicKey\")\n\n if (res.is_success && res.data) {\n const key = res.data.key\n if (typeof key === \"string\") {\n this.RSA_PUBLIC_KEY = key\n }\n }\n return this.RSA_PUBLIC_KEY\n }\n\n public async getHeaders(options?: {\n payload?: Record<string, any> | string | FormData\n exparams?: Record<string, any>\n dev_code?: string\n refer?: boolean\n token?: string\n tokenSig?: boolean\n h5?: boolean\n }): Promise<HeadersPayload> {\n let { payload, exparams, dev_code = this.dev_code, refer, token = this.token, tokenSig, h5 } = options || {}\n\n const CONTENT_TYPE = \"application/x-www-form-urlencoded; charset=utf-8\"\n const iosBaseHeader = {\n version: \"1.1.3\",\n source: \"ios\",\n \"Content-Type\": CONTENT_TYPE,\n \"User-Agent\": \"DoubleHelix/4 CFNetwork/3860.100.1 Darwin/25.0.0\",\n }\n const h5BaseHeader = {\n version: \"3.11.0\",\n source: \"h5\",\n \"Content-Type\": CONTENT_TYPE,\n \"User-Agent\":\n \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36\",\n }\n const is_h5 = this.is_h5 || h5 || false\n const headers = { ...(is_h5 ? h5BaseHeader : iosBaseHeader) } as Record<string, any>\n if (dev_code) {\n headers.devCode = dev_code\n }\n if (refer || is_h5) {\n headers.origin = \"https://dnabbs.yingxiong.com\"\n headers.refer = \"https://dnabbs.yingxiong.com/\"\n }\n if (token) {\n headers.token = token\n }\n if (payload instanceof FormData) {\n const pk = await this.getRsaPublicKey()\n const { signature, key } = build_upload_signature(pk)\n headers.t = signature\n this.uploadKey = key\n\n if (exparams) {\n for (const [key, value] of Object.entries(exparams)) {\n payload.append(key, String(value))\n }\n }\n\n delete headers[\"Content-Type\"]\n } else if (typeof payload === \"object\") {\n const si = build_signature(payload, tokenSig ? token : \"\")\n Object.assign(payload, { sign: si.s, timestamp: si.t })\n if (exparams) {\n Object.assign(payload, exparams)\n }\n\n const params = new URLSearchParams()\n Object.entries(payload).forEach(([key, value]) => {\n params.append(key, String(value))\n })\n payload = params.toString()\n\n const rk = si.k\n const pk = await this.getRsaPublicKey()\n const ek = rsa_encrypt(rk, pk)\n if (this.is_h5) {\n headers.k = ek\n } else {\n headers.rk = rk\n headers.key = ek\n }\n }\n return { headers, payload }\n }\n\n async needSign(url: string): Promise<boolean> {\n if (this.sign_api_urls.size === 0) {\n try {\n await this.initializeSignConfig()\n } catch (error) {\n console.error(\"初始化签名配置失败:\", error)\n this.sign_api_urls = new Set(\n [\n \"/user/sdkLogin\",\n \"/forum/postPublish\",\n \"/forum/comment/createComment\",\n \"/forum/comment/createReply\",\n \"/user/getSmsCode\",\n \"/role/defaultRoleForTool\",\n \"/media/av/cfg/getVideos\",\n \"/media/av/cfg/getAudios\",\n \"/media/av/cfg/getImages\",\n \"/encourage/signin/signin\",\n ].map((item) => item.replace(/^\\/+/, \"\")),\n )\n }\n }\n return this.sign_api_urls.has(url)\n }\n\n async initializeSignConfig(): Promise<void> {\n try {\n const configRes = await this._dna_request<DNACommonConfigEntity>(\"config/getCommonConfig\", undefined, { sign: false })\n if (configRes.is_success && configRes.data?.signApiConfigVo?.signApiList) {\n this.sign_api_urls = new Set(configRes.data.signApiConfigVo.signApiList.map((item) => item.replace(/^\\/+/, \"\")))\n }\n } catch (error) {\n console.error(\"初始化签名配置失败:\", error)\n }\n }\n\n public async _dna_request_h5<T = any>(url: string, data?: any, options?: RequestOptions): Promise<TimeBasicResponse<T>> {\n return await this._dna_request(url, data, { ...options, h5: true })\n }\n\n public async _dna_request<T = any>(url: string, data?: any, options?: RequestOptions): Promise<TimeBasicResponse<T>> {\n let { method = \"POST\", sign, h5, refer, params, max_retries = 3, retry_delay = 1, timeout = 10000, token, tokenSig } = options || {}\n\n // 如果未明确指定 sign,则根据 URL 自动判断\n if (sign === undefined && (await this.needSign(url))) {\n sign = true\n }\n let headers: Record<string, any>\n if (sign) {\n const { payload: p, headers: h } = await this.getHeaders({\n payload: data,\n refer,\n exparams: params,\n token: token ? this.token : undefined,\n tokenSig,\n h5,\n })\n data = p\n headers = h\n } else {\n const { headers: h } = await this.getHeaders({ token: token ? this.token : undefined, refer, h5 })\n headers = h\n }\n\n for (let attempt = 0; attempt < max_retries; attempt++) {\n try {\n let body: string | FormData | undefined = data\n if (data && typeof data === \"object\" && !(data instanceof FormData)) {\n const p = new URLSearchParams()\n Object.entries(data).forEach(([key, value]) => {\n if (value !== undefined) p.append(key, String(value))\n })\n body = p.toString()\n }\n const fetchOptions: RequestInit = {\n method,\n headers,\n body,\n }\n\n const controller = new AbortController()\n const timeoutId = setTimeout(() => controller.abort(), timeout)\n\n const initOptions = {\n ...fetchOptions,\n signal: controller.signal,\n }\n const response = this.fetchFn\n ? await this.fetchFn(`${this.BASE_URL}${url}`, initOptions)\n : await fetch(`${this.BASE_URL}${url}`, initOptions)\n clearTimeout(timeoutId)\n\n const contentType = response.headers.get(\"content-type\") || \"\"\n let raw_res: any\n\n if (contentType.includes(\"text/\")) {\n const textData = await response.text()\n raw_res = {\n code: RespCode.ERROR,\n data: textData,\n }\n } else {\n raw_res = await response.json()\n }\n\n if (typeof raw_res === \"object\" && raw_res !== null) {\n try {\n if (typeof raw_res.data === \"string\") {\n raw_res.data = JSON.parse(raw_res.data)\n }\n } catch (e) {}\n }\n\n return new TimeBasicResponse<T>(raw_res)\n } catch (e) {\n console.error(`请求失败: ${(e as Error).message}`)\n if (attempt < max_retries - 1) {\n await new Promise((resolve) => setTimeout(resolve, retry_delay * Math.pow(2, attempt)))\n }\n }\n }\n\n return TimeBasicResponse.err(\"请求服务器失败,已达最大重试次数\")\n }\n}\n\n/**\n * 子模块基类,代理 DNABaseAPI 的方法和属性\n * 所有子模块都通过这个类代理到共享的 BaseAPI 实例\n */\nexport abstract class DNASubModule {\n protected _base: DNABaseAPI\n\n constructor(base: DNABaseAPI) {\n this._base = base\n }\n\n // 代理属性访问\n get dev_code(): string {\n return this._base.dev_code\n }\n\n get token(): string {\n return this._base.token\n }\n set token(value: string) {\n this._base.token = value\n }\n\n get fetchFn(): typeof fetch | undefined {\n return this._base.fetchFn\n }\n\n get is_h5(): boolean {\n return this._base.is_h5\n }\n\n get RSA_PUBLIC_KEY(): string {\n return this._base.RSA_PUBLIC_KEY\n }\n\n get BASE_URL(): string {\n return this._base.BASE_URL\n }\n\n get uploadKey(): string {\n return this._base.uploadKey\n }\n\n // 代理方法\n async getRsaPublicKey(): Promise<string> {\n return this._base.getRsaPublicKey()\n }\n\n /**\n * 图片上传\n */\n async fileUpload(url: string, data: FormData) {\n return await this._base.fileUpload(url, data)\n }\n\n public async _dna_request<T = any>(url: string, data?: any, options?: RequestOptions): Promise<TimeBasicResponse<T>> {\n return this._base._dna_request(url, data, options)\n }\n\n public async _dna_request_h5<T = any>(url: string, data?: any, options?: RequestOptions): Promise<TimeBasicResponse<T>> {\n return this._base._dna_request_h5(url, data, options)\n }\n\n public async getHeaders(options?: {\n payload?: Record<string, any> | string | FormData\n exparams?: Record<string, any>\n dev_code?: string\n refer?: boolean\n token?: string\n tokenSig?: boolean\n h5?: boolean\n }): Promise<HeadersPayload> {\n return this._base.getHeaders(options)\n }\n}\n",
|
|
8
|
-
"import { DNASubModule, DNABaseAPI } from \"./base\"\nimport {\n DNARoleEntity,\n DNAShortNoteEntity,\n DNACharDetailEntity,\n DNAWeaponDetailEntity,\n DNAPushStringBean,\n DNASoulTaskBean,\n} from \"../type-generated\"\n\nexport class GameAPI extends DNASubModule {\n constructor(base: DNABaseAPI) {\n super(base)\n }\n async defaultRoleForTool(type: number = 1, otherUserId?: string) {\n const data = { otherUserId, type }\n if (!otherUserId) {\n delete data.otherUserId\n }\n return await this._dna_request<DNARoleEntity>(\"role/defaultRoleForTool\", data, { sign: true, token: true, tokenSig: true })\n }\n\n async getMhSwitchStatus() {\n return await this._dna_request<DNAPushStringBean>(\"user/push/getMhSwitchStatus\")\n }\n\n async getRoleDetail(char_id: string, char_eid: string, otherUserId?: string) {\n const data = { charId: char_id, charEid: char_eid, type: 1, otherUserId }\n return await this._dna_request<DNACharDetailEntity>(\"role/getCharDetail\", data)\n }\n\n async getShortNoteInfo() {\n return await this._dna_request<DNAShortNoteEntity>(\"role/getShortNoteInfo\")\n }\n\n async getWeaponDetail(weapon_id: string, weapon_eid: string, otherUserId?: string) {\n const data = { weaponId: weapon_id, weaponEid: weapon_eid, type: 1, otherUserId }\n return await this._dna_request<DNAWeaponDetailEntity>(\"role/getWeaponDetail\", data)\n }\n\n async updateMhSwitchStatus(config: string) {\n return await this._dna_request(\"user/push/updateMhSwitchStatus\", { config })\n }\n\n async soulTask() {\n return await this._dna_request<DNASoulTaskBean>(\"role/soul/task\")\n }\n}\n",
|
|
9
|
-
"import { DNASubModule, DNABaseAPI } from \"./base\"\nimport {\n DNAPostDetailResponse,\n DNAGameSignInShowDataBean,\n DNAGameSignInResultBean,\n DNAUserTaskProcessEntity,\n DNADiscussAreaResponse,\n DNAHomeOffWaterResponse,\n DNATipsBean,\n DNAIsRedPointBean,\n DNARecommendBean,\n DNATopicListResponse,\n DNAReplyListResponse,\n DNACommentListResponse,\n DNASignInBean,\n DNABlockBean,\n DNACreateCommentResponse,\n DNAReplayCommentResponse,\n DNAFollowBean,\n DNAGameBannerBean,\n DNAFraternityResponse,\n DNAStatisticsBean,\n DNAPostListBean,\n DNAReceiveRecord,\n DNASearchPostBean,\n DNASearchTopicBean,\n DNASearchUserBean,\n DNASoulTaskBean,\n} from \"../type-generated\"\n\nconst DNA_GAME_ID = 268\n\nexport class HomeAPI extends DNASubModule {\n constructor(base: DNABaseAPI) {\n super(base)\n }\n async adminAdjustScore(postId: number, gameForumId: number, weight: string, gameId: number = DNA_GAME_ID) {\n const data = { postId, gameId: gameId ?? DNA_GAME_ID, gameForumId, weight }\n return await this._dna_request(\"forum/moderator/setPostWeight\", data)\n }\n\n async adminDelete(post: { postId: number; gameId?: number; gameForumId: number }, content: string, reasonCode: number) {\n const data = {\n postId: post.postId,\n gameId: post.gameId ?? DNA_GAME_ID,\n gameForumId: post.gameForumId,\n content: content,\n reasonCode: reasonCode,\n }\n return await this._dna_request(\"forum/moderator/postDelete\", data)\n }\n\n async adminMovePost(\n post: { postId: number; gameId?: number; gameForumId: number },\n newGameId: number,\n newForumId: number,\n newTopicIdStr: string,\n ) {\n const data = {\n postId: post.postId,\n gameId: post.gameId ?? DNA_GAME_ID,\n gameForumId: post.gameForumId,\n newGameId,\n newForumId,\n newTopicIdStr,\n }\n return await this._dna_request(\"forum/moderator/postMove\", data)\n }\n\n async adminRefreshTime(post: { postId: number; gameId?: number; gameForumId: number }, refresh: number) {\n const data = {\n postId: post.postId,\n gameId: post.gameId ?? DNA_GAME_ID,\n gameForumId: post.gameForumId,\n refresh,\n }\n return await this._dna_request(\"forum/moderator/setRefresh\", data)\n }\n\n async blockList() {\n return await this._dna_request<DNABlockBean>(\"user/block/list\")\n }\n\n async blockOther(blockPostId: number, blockUserId: string, type: number) {\n return await this._dna_request(\"user/block/other\", { blockPostId, blockUserId, type })\n }\n\n async collect(postId: number, toUserId: string, operateType = 1) {\n const data = { operateType, postId, toUserId }\n return await this._dna_request(\"forum/collect\", data)\n }\n\n async commentDelete(\n comment: { id: number; gameId: number; gameForumId: number },\n entityType: number,\n content: string,\n reasonCode: number,\n ) {\n const data = { id: comment.id, gameId: comment.gameId, gameForumId: comment.gameForumId, entityType, content, reasonCode }\n return await this._dna_request(\"forum/commentReplyDelete\", data)\n }\n\n async createComment(post: { userId: string; postId: string; gameForumId: number }, content: string) {\n const content_json = JSON.stringify([\n {\n content,\n contentType: \"1\",\n },\n ])\n const data = { postId: post.postId, forumId: post.gameForumId, postType: \"1\", content: content_json }\n return await this._dna_request<DNACreateCommentResponse>(\"forum/comment/createComment\", data, {\n sign: true,\n params: { toUserId: post.userId },\n })\n }\n\n async createReply(post: { userId: string; postId: string; postCommentId: string; gameForumId: number }, content: string) {\n const content_json = JSON.stringify([\n {\n content,\n contentType: \"1\",\n imgHeight: 0,\n imgWidth: 0,\n url: \"\",\n },\n ])\n const data = {\n content: content_json,\n forumId: post.gameForumId,\n postCommentId: post.postCommentId,\n postId: post.postId,\n postType: \"1\",\n toUserId: post.userId,\n }\n return await this._dna_request<DNAReplayCommentResponse>(\"forum/comment/createReply\", data, {\n sign: true,\n params: { toUserId: post.userId },\n })\n }\n\n async createReplyList(\n post: { userId: string; postId: string; postCommentId: string; postCommentReplyId: string; gameForumId: number },\n content: string,\n ) {\n const content_json = JSON.stringify([\n {\n content,\n contentType: \"1\",\n imgHeight: 0,\n imgWidth: 0,\n url: \"\",\n },\n ])\n const data = {\n content: content_json,\n forumId: post.gameForumId,\n postCommentId: post.postCommentId,\n postCommentReplyId: post.postCommentReplyId,\n postId: post.postId,\n postType: \"1\",\n toUserId: post.userId,\n }\n return await this._dna_request<DNAReplayCommentResponse>(\"forum/comment/createReply\", data, {\n sign: true,\n params: { toUserId: post.userId },\n })\n }\n\n async deletePost(deleteType: number, id: number) {\n return await this._dna_request(\"forum/more/delete\", { deleteType, id }, { sign: true, refer: true })\n }\n\n async followUser(followUserId: string, unfollow?: boolean) {\n const data = { followUserId, operateType: unfollow ? 0 : 1 }\n return await this._dna_request(\"user/followUser\", data, { sign: true })\n }\n\n async getFollowState(followUserId: string) {\n const data = { followUserId }\n return await this._dna_request<DNAFollowBean>(\"user/isFollow\", data)\n }\n\n async gameSignIn(dayAwardId: number, period: number) {\n const data = { dayAwardId, periodId: period, signinType: 1 }\n return await this._dna_request<DNAGameSignInResultBean>(\"encourage/signin/signin\", data, { sign: true })\n }\n\n async getDoujin(forumId: number) {\n return await this._dna_request<DNADiscussAreaResponse>(\"forum/discuss/getDoujin\", { forumId })\n }\n\n async getExchange(forumId: number) {\n return await this._dna_request<DNADiscussAreaResponse>(\"forum/discuss/getExchange\", { forumId })\n }\n\n async getGameBanner(gameId = DNA_GAME_ID) {\n return await this._dna_request<DNAGameBannerBean>(\"forum/gameBanner\", { gameId })\n }\n\n async getPostByTopic(\n topicId: number = 177,\n pageIndex: number = 1,\n pageSize: number = 20,\n searchType: number = 1,\n timeType: number = 0,\n ) {\n const data = {\n topicId,\n gameId: DNA_GAME_ID,\n pageIndex,\n pageSize,\n searchType,\n timeType,\n }\n return await this._dna_request<DNATopicListResponse>(\"forum/getPostByTopic\", data)\n }\n\n async getPostCommentList(postId: number, pageIndex: number = 1, pageSize: number = 20, isOnlyPublisher: number = 0) {\n return await this._dna_request<DNACommentListResponse>(\"forum/comment/getPostCommentList\", {\n postId,\n pageIndex,\n pageSize,\n isOnlyPublisher,\n })\n }\n\n async getPostDetail(postId: string) {\n return await this._dna_request<DNAPostDetailResponse>(\"forum/getPostDetail\", { postId })\n }\n\n async getPostList(forumId: number = 48, pageIndex: number = 1, pageSize: number = 20, searchType: number = 1, timeType: number = 0) {\n const data = {\n forumId: forumId,\n gameId: DNA_GAME_ID,\n pageIndex: pageIndex,\n pageSize: pageSize,\n searchType: searchType,\n timeType: timeType,\n }\n return await this._dna_request<DNADiscussAreaResponse>(\"forum/list\", data)\n }\n\n async getRankList(forumId: number) {\n return await this._dna_request<DNAFraternityResponse>(\"forum/discuss/getRank\", { forumId })\n }\n\n async getRecommendPosts(gameId = DNA_GAME_ID, pageIndex: number = 1, pageSize: number = 20) {\n return await this._dna_request<DNAHomeOffWaterResponse>(\"forum/getRecommendPosts\", { gameId, pageIndex, pageSize })\n }\n\n async getReplyList(postId: number, postCommentId: number, pageIndex: number = 1, pageSize: number = 20) {\n return await this._dna_request<DNAReplyListResponse>(\"forum/comment/getReplyList\", { postId, postCommentId, pageIndex, pageSize })\n }\n\n async getStatistics(gameId = DNA_GAME_ID) {\n return await this._dna_request<DNAStatisticsBean>(\"forum/statistics\", { gameId })\n }\n\n async getTips() {\n return await this._dna_request<DNATipsBean>(\"config/getTips\")\n }\n\n async getWalkthrough(forumId: number) {\n return await this._dna_request<DNADiscussAreaResponse>(\"forum/discuss/getWalkthrough\", { forumId })\n }\n\n async hotList(type: number = 1, gameId = DNA_GAME_ID) {\n return await this._dna_request<DNAPostListBean[]>(\"forum/hot/ranking/list\", { gameId, type })\n }\n\n async haveSignIn() {\n const data = { gameId: DNA_GAME_ID }\n return await this._dna_request<DNASignInBean>(\"user/haveSignInNew\", data)\n }\n\n async isRedPoint() {\n return await this._dna_request<DNAIsRedPointBean>(\"forum/dynamic/isRedPoint\")\n }\n\n async signCalendar() {\n const data = { gameId: DNA_GAME_ID }\n return await this._dna_request<DNAGameSignInShowDataBean>(\"encourage/signin/show\", data)\n }\n\n async like(post: { gameForumId: string; postId: string; postType: string; userId: string }) {\n const data = {\n forumId: post.gameForumId,\n gameId: DNA_GAME_ID,\n likeType: \"1\",\n operateType: \"1\",\n postCommentId: \"\",\n postCommentReplyId: \"\",\n postId: post.postId,\n postType: post.postType,\n toUserId: post.userId,\n }\n return await this._dna_request(\"forum/like\", data)\n }\n\n async lockPost(post: { postId: number; gameId?: number; gameForumId: number }, operateType: number) {\n const data = { postId: post.postId, gameId: post.gameId ?? DNA_GAME_ID, gameForumId: post.gameForumId, operateType }\n return await this._dna_request(\"forum/moderator/postLock\", data)\n }\n\n async postDownOrUp(post: { postId: number; gameId?: number; gameForumId: number }, operateType: number) {\n const data = { postId: post.postId, gameId: post.gameId ?? DNA_GAME_ID, gameForumId: post.gameForumId, operateType }\n return await this._dna_request(\"forum/moderator/postDownOrUp\", data)\n }\n\n async postElite(post: { postId: number; gameId?: number; gameForumId: number }, operateType: number) {\n const data = { postId: post.postId, gameId: post.gameId ?? DNA_GAME_ID, gameForumId: post.gameForumId, operateType }\n return await this._dna_request(\"forum/moderator/postElite\", data)\n }\n\n async postHide(post: { postId: number; gameId?: number; gameForumId: number }, operateType: number) {\n const data = { postId: post.postId, gameId: post.gameId ?? DNA_GAME_ID, gameForumId: post.gameForumId, operateType }\n return await this._dna_request(\"forum/moderator/postHide\", data)\n }\n\n async reRank(post: { postId: number; gameId?: number; gameForumId: number }, weight: number) {\n const data = { postId: post.postId, gameId: post.gameId ?? DNA_GAME_ID, gameForumId: post.gameForumId, weight }\n return await this._dna_request(\"forum/moderator/reRank\", data)\n }\n\n async receiveLog(periodId: number, pageIndex: number, pageSize: number) {\n const data = { periodId, pageIndex, pageSize }\n return await this._dna_request<DNAReceiveRecord>(\"encourage/signin/receiveLog\", data)\n }\n\n async recommendList(recIndex: number, newIndex: number, size: number, history: string, gameId = DNA_GAME_ID) {\n const data = { gameId, recIndex, newIndex, size, history }\n return await this._dna_request<DNARecommendBean>(\"forum/recommend/list\", data)\n }\n\n async report(\n { commentId = 0, postId = 0, replyId = 0 }: { commentId?: number; postId?: number; replyId?: number },\n reportReason = 1,\n reportType = 1,\n ) {\n const data = { commentId, postId, replyId, reportReason, reportType }\n return await this._dna_request(\"forum/more/report\", data)\n }\n\n async searchPost(keyword: string, pageIndex: number, pageSize: number, gameId = DNA_GAME_ID, searchType = 1) {\n const data = { gameId, keyword, pageIndex, pageSize, searchType }\n return await this._dna_request<DNASearchPostBean>(\"forum/searchPost\", data)\n }\n\n async searchTopic(keyword: string, pageIndex: number, pageSize = 20, gameId = DNA_GAME_ID) {\n const data = { gameId, keyword, pageIndex, pageSize }\n return await this._dna_request<DNASearchTopicBean>(\"forum/searchPost\", data)\n }\n\n async searchUser(keyword: string, pageIndex: number, pageSize: number) {\n const data = { keyword, pageIndex, pageSize }\n return await this._dna_request<DNASearchUserBean>(\"forum/searchPost\", data)\n }\n\n async shareTask() {\n const data = { gameId: DNA_GAME_ID }\n return await this._dna_request(\"encourage/level/shareTask\", data)\n }\n\n async bbsSign() {\n const data = { gameId: DNA_GAME_ID }\n return await this._dna_request<DNASignInBean>(\"user/signIn\", data)\n }\n\n async strongRecommend(post: { postId: number; gameId?: number; gameForumId: number }, operateType = 1) {\n const data = {\n postId: post.postId,\n gameId: post.gameId ?? DNA_GAME_ID,\n gameForumId: post.gameForumId,\n operateType: operateType,\n }\n return await this._dna_request(\"forum/moderator/setForceRecommend\", data)\n }\n\n async viewCommunity() {\n return await this._dna_request(\"encourage/level/viewCommunity\")\n }\n\n async viewCount(postId: number, gameId = DNA_GAME_ID) {\n return await this._dna_request(\"forum/viewCount\", { gameId, postId })\n }\n\n async getTaskProcess() {\n const data = { gameId: DNA_GAME_ID }\n return await this._dna_request<DNAUserTaskProcessEntity>(\"encourage/level/getTaskProcess\", data)\n }\n\n async soulTask() {\n return await this._dna_request<DNASoulTaskBean>(\"role/soul/task\")\n }\n}\n",
|
|
8
|
+
"import { DNASubModule, DNABaseAPI } from \"./base\"\nimport {\n DNARoleEntity,\n DNAShortNoteEntity,\n DNACharDetailEntity,\n DNAWeaponDetailEntity,\n DNAPushStringBean,\n DNASoulTaskBean,\n} from \"../type-generated\"\n\nexport class GameAPI extends DNASubModule {\n constructor(base: DNABaseAPI) {\n super(base)\n }\n async defaultRoleForTool(type: number = 1, otherUserId?: string) {\n const data = { otherUserId, type }\n if (!otherUserId) {\n delete data.otherUserId\n }\n return await this._dna_request<DNARoleEntity>(\"role/defaultRoleForTool\", data, { sign: true, token: true, tokenSig: true })\n }\n\n async getMhSwitchStatus() {\n return await this._dna_request<DNAPushStringBean>(\"user/push/getMhSwitchStatus\")\n }\n\n async getRoleDetail(char_id: number | string, char_eid: string, otherUserId?: string) {\n const data = { charId: char_id, charEid: char_eid, type: 1, otherUserId }\n return await this._dna_request<DNACharDetailEntity>(\"role/getCharDetail\", data)\n }\n\n async getShortNoteInfo() {\n return await this._dna_request<DNAShortNoteEntity>(\"role/getShortNoteInfo\")\n }\n\n async getWeaponDetail(weapon_id: number | string, weapon_eid: string, otherUserId?: string) {\n const data = { weaponId: weapon_id, weaponEid: weapon_eid, type: 1, otherUserId }\n return await this._dna_request<DNAWeaponDetailEntity>(\"role/getWeaponDetail\", data)\n }\n\n async updateMhSwitchStatus(config: string) {\n return await this._dna_request(\"user/push/updateMhSwitchStatus\", { config })\n }\n\n async soulTask() {\n return await this._dna_request<DNASoulTaskBean>(\"role/soul/task\")\n }\n}\n",
|
|
9
|
+
"import { DNASubModule, DNABaseAPI } from \"./base\"\nimport {\n DNAPostDetailResponse,\n DNAGameSignInShowDataBean,\n DNAGameSignInResultBean,\n DNAUserTaskProcessEntity,\n DNADiscussAreaResponse,\n DNAHomeOffWaterResponse,\n DNATipsBean,\n DNAIsRedPointBean,\n DNARecommendBean,\n DNATopicListResponse,\n DNAReplyListResponse,\n DNACommentListResponse,\n DNASignInBean,\n DNABlockBean,\n DNACreateCommentResponse,\n DNAReplayCommentResponse,\n DNAFollowBean,\n DNAGameBannerBean,\n DNAFraternityResponse,\n DNAStatisticsBean,\n DNAPostListBean,\n DNAReceiveRecord,\n DNASearchPostBean,\n DNASearchTopicBean,\n DNASearchUserBean,\n DNASoulTaskBean,\n} from \"../type-generated\"\n\nconst DNA_GAME_ID = 268\n\nexport class HomeAPI extends DNASubModule {\n constructor(base: DNABaseAPI) {\n super(base)\n }\n async adminAdjustScore(postId: number, gameForumId: number, weight: string, gameId: number = DNA_GAME_ID) {\n const data = { postId, gameId: gameId ?? DNA_GAME_ID, gameForumId, weight }\n return await this._dna_request(\"forum/moderator/setPostWeight\", data)\n }\n\n async adminDelete(post: { postId: number; gameId?: number; gameForumId: number }, content: string, reasonCode: number) {\n const data = {\n postId: post.postId,\n gameId: post.gameId ?? DNA_GAME_ID,\n gameForumId: post.gameForumId,\n content: content,\n reasonCode: reasonCode,\n }\n return await this._dna_request(\"forum/moderator/postDelete\", data)\n }\n\n async adminMovePost(\n post: { postId: number; gameId?: number; gameForumId: number },\n newGameId: number,\n newForumId: number,\n newTopicIdStr: string\n ) {\n const data = {\n postId: post.postId,\n gameId: post.gameId ?? DNA_GAME_ID,\n gameForumId: post.gameForumId,\n newGameId,\n newForumId,\n newTopicIdStr,\n }\n return await this._dna_request(\"forum/moderator/postMove\", data)\n }\n\n async adminRefreshTime(post: { postId: number; gameId?: number; gameForumId: number }, refresh: number) {\n const data = {\n postId: post.postId,\n gameId: post.gameId ?? DNA_GAME_ID,\n gameForumId: post.gameForumId,\n refresh,\n }\n return await this._dna_request(\"forum/moderator/setRefresh\", data)\n }\n\n async blockList() {\n return await this._dna_request<DNABlockBean>(\"user/block/list\")\n }\n\n async blockOther(blockPostId: number, blockUserId: string, type: number) {\n return await this._dna_request(\"user/block/other\", { blockPostId, blockUserId, type })\n }\n\n async collect(postId: number, toUserId: string, operateType = 1) {\n const data = { operateType, postId, toUserId }\n return await this._dna_request(\"forum/collect\", data)\n }\n\n async commentDelete(\n comment: { id: number; gameId: number; gameForumId: number },\n entityType: number,\n content: string,\n reasonCode: number\n ) {\n const data = { id: comment.id, gameId: comment.gameId, gameForumId: comment.gameForumId, entityType, content, reasonCode }\n return await this._dna_request(\"forum/commentReplyDelete\", data)\n }\n\n async createComment(post: { userId: string; postId: string; gameForumId: number }, content: string) {\n const content_json = JSON.stringify([\n {\n content,\n contentType: \"1\",\n },\n ])\n const data = { postId: post.postId, forumId: post.gameForumId, postType: \"1\", content: content_json }\n return await this._dna_request<DNACreateCommentResponse>(\"forum/comment/createComment\", data, {\n sign: true,\n params: { toUserId: post.userId },\n })\n }\n\n async createReply(post: { userId: string; postId: string; postCommentId: string; gameForumId: number }, content: string) {\n const content_json = JSON.stringify([\n {\n content,\n contentType: \"1\",\n imgHeight: 0,\n imgWidth: 0,\n url: \"\",\n },\n ])\n const data = {\n content: content_json,\n forumId: post.gameForumId,\n postCommentId: post.postCommentId,\n postId: post.postId,\n postType: \"1\",\n toUserId: post.userId,\n }\n return await this._dna_request<DNAReplayCommentResponse>(\"forum/comment/createReply\", data, {\n sign: true,\n params: { toUserId: post.userId },\n })\n }\n\n async createReplyList(\n post: { userId: string; postId: string; postCommentId: string; postCommentReplyId: string; gameForumId: number },\n content: string\n ) {\n const content_json = JSON.stringify([\n {\n content,\n contentType: \"1\",\n imgHeight: 0,\n imgWidth: 0,\n url: \"\",\n },\n ])\n const data = {\n content: content_json,\n forumId: post.gameForumId,\n postCommentId: post.postCommentId,\n postCommentReplyId: post.postCommentReplyId,\n postId: post.postId,\n postType: \"1\",\n toUserId: post.userId,\n }\n return await this._dna_request<DNAReplayCommentResponse>(\"forum/comment/createReply\", data, {\n sign: true,\n params: { toUserId: post.userId },\n })\n }\n\n async deletePost(deleteType: number, id: number) {\n return await this._dna_request(\"forum/more/delete\", { deleteType, id }, { sign: true, refer: true })\n }\n\n async followUser(followUserId: string, unfollow?: boolean) {\n const data = { followUserId, operateType: unfollow ? 0 : 1 }\n return await this._dna_request(\"user/followUser\", data, { sign: true })\n }\n\n async getFollowState(followUserId: string) {\n const data = { followUserId }\n return await this._dna_request<DNAFollowBean>(\"user/isFollow\", data)\n }\n\n async gameSignIn(dayAwardId: number, period: number) {\n const data = { dayAwardId, periodId: period, signinType: 1 }\n return await this._dna_request<DNAGameSignInResultBean>(\"encourage/signin/signin\", data, { sign: true })\n }\n\n async getDoujin(forumId: number) {\n return await this._dna_request<DNADiscussAreaResponse>(\"forum/discuss/getDoujin\", { forumId })\n }\n\n async getExchange(forumId: number) {\n return await this._dna_request<DNADiscussAreaResponse>(\"forum/discuss/getExchange\", { forumId })\n }\n\n async getGameBanner(gameId = DNA_GAME_ID) {\n return await this._dna_request<DNAGameBannerBean>(\"forum/gameBanner\", { gameId })\n }\n\n async getPostByTopic(\n topicId: number = 177,\n pageIndex: number = 1,\n pageSize: number = 20,\n searchType: number = 1,\n timeType: number = 0\n ) {\n const data = {\n topicId,\n gameId: DNA_GAME_ID,\n pageIndex,\n pageSize,\n searchType,\n timeType,\n }\n return await this._dna_request<DNATopicListResponse>(\"forum/getPostByTopic\", data)\n }\n\n async getPostCommentList(postId: number, pageIndex: number = 1, pageSize: number = 20, isOnlyPublisher: number = 0) {\n return await this._dna_request<DNACommentListResponse>(\"forum/comment/getPostCommentList\", {\n postId,\n pageIndex,\n pageSize,\n isOnlyPublisher,\n })\n }\n\n async getPostDetail(postId: string | number) {\n return await this._dna_request<DNAPostDetailResponse>(\"forum/getPostDetail\", { postId })\n }\n\n async getPostList(forumId: number = 48, pageIndex: number = 1, pageSize: number = 20, searchType: number = 1, timeType: number = 0) {\n const data = {\n forumId: forumId,\n gameId: DNA_GAME_ID,\n pageIndex: pageIndex,\n pageSize: pageSize,\n searchType: searchType,\n timeType: timeType,\n }\n return await this._dna_request<DNADiscussAreaResponse>(\"forum/list\", data)\n }\n\n async getRankList(forumId: number) {\n return await this._dna_request<DNAFraternityResponse>(\"forum/discuss/getRank\", { forumId })\n }\n\n async getRecommendPosts(gameId = DNA_GAME_ID, pageIndex: number = 1, pageSize: number = 20) {\n return await this._dna_request<DNAHomeOffWaterResponse>(\"forum/getRecommendPosts\", { gameId, pageIndex, pageSize })\n }\n\n async getReplyList(postId: number, postCommentId: number, pageIndex: number = 1, pageSize: number = 20) {\n return await this._dna_request<DNAReplyListResponse>(\"forum/comment/getReplyList\", { postId, postCommentId, pageIndex, pageSize })\n }\n\n async getStatistics(gameId = DNA_GAME_ID) {\n return await this._dna_request<DNAStatisticsBean>(\"forum/statistics\", { gameId })\n }\n\n async getTips() {\n return await this._dna_request<DNATipsBean>(\"config/getTips\")\n }\n\n async getWalkthrough(forumId: number) {\n return await this._dna_request<DNADiscussAreaResponse>(\"forum/discuss/getWalkthrough\", { forumId })\n }\n\n async hotList(type: number = 1, gameId = DNA_GAME_ID) {\n return await this._dna_request<DNAPostListBean[]>(\"forum/hot/ranking/list\", { gameId, type })\n }\n\n async haveSignIn() {\n const data = { gameId: DNA_GAME_ID }\n return await this._dna_request<DNASignInBean>(\"user/haveSignInNew\", data)\n }\n\n async isRedPoint() {\n return await this._dna_request<DNAIsRedPointBean>(\"forum/dynamic/isRedPoint\")\n }\n\n async signCalendar() {\n const data = { gameId: DNA_GAME_ID }\n return await this._dna_request<DNAGameSignInShowDataBean>(\"encourage/signin/show\", data)\n }\n\n async like(post: { gameForumId: string; postId: string; postType: string; userId: string }) {\n const data = {\n forumId: post.gameForumId,\n gameId: DNA_GAME_ID,\n likeType: \"1\",\n operateType: \"1\",\n postCommentId: \"\",\n postCommentReplyId: \"\",\n postId: post.postId,\n postType: post.postType,\n toUserId: post.userId,\n }\n return await this._dna_request(\"forum/like\", data)\n }\n\n async lockPost(post: { postId: number; gameId?: number; gameForumId: number }, operateType: number) {\n const data = { postId: post.postId, gameId: post.gameId ?? DNA_GAME_ID, gameForumId: post.gameForumId, operateType }\n return await this._dna_request(\"forum/moderator/postLock\", data)\n }\n\n async postDownOrUp(post: { postId: number; gameId?: number; gameForumId: number }, operateType: number) {\n const data = { postId: post.postId, gameId: post.gameId ?? DNA_GAME_ID, gameForumId: post.gameForumId, operateType }\n return await this._dna_request(\"forum/moderator/postDownOrUp\", data)\n }\n\n async postElite(post: { postId: number; gameId?: number; gameForumId: number }, operateType: number) {\n const data = { postId: post.postId, gameId: post.gameId ?? DNA_GAME_ID, gameForumId: post.gameForumId, operateType }\n return await this._dna_request(\"forum/moderator/postElite\", data)\n }\n\n async postHide(post: { postId: number; gameId?: number; gameForumId: number }, operateType: number) {\n const data = { postId: post.postId, gameId: post.gameId ?? DNA_GAME_ID, gameForumId: post.gameForumId, operateType }\n return await this._dna_request(\"forum/moderator/postHide\", data)\n }\n\n async reRank(post: { postId: number; gameId?: number; gameForumId: number }, weight: number) {\n const data = { postId: post.postId, gameId: post.gameId ?? DNA_GAME_ID, gameForumId: post.gameForumId, weight }\n return await this._dna_request(\"forum/moderator/reRank\", data)\n }\n\n async receiveLog(periodId: number, pageIndex: number, pageSize: number) {\n const data = { periodId, pageIndex, pageSize }\n return await this._dna_request<DNAReceiveRecord>(\"encourage/signin/receiveLog\", data)\n }\n\n async recommendList(recIndex: number, newIndex: number, size: number, history: string, gameId = DNA_GAME_ID) {\n const data = { gameId, recIndex, newIndex, size, history }\n return await this._dna_request<DNARecommendBean>(\"forum/recommend/list\", data)\n }\n\n async report(\n { commentId = 0, postId = 0, replyId = 0 }: { commentId?: number; postId?: number; replyId?: number },\n reportReason = 1,\n reportType = 1\n ) {\n const data = { commentId, postId, replyId, reportReason, reportType }\n return await this._dna_request(\"forum/more/report\", data)\n }\n\n async searchPost(keyword: string, pageIndex: number, pageSize: number, gameId = DNA_GAME_ID, searchType = 1) {\n const data = { gameId, keyword, pageIndex, pageSize, searchType }\n return await this._dna_request<DNASearchPostBean>(\"forum/searchPost\", data)\n }\n\n async searchTopic(keyword: string, pageIndex: number, pageSize = 20, gameId = DNA_GAME_ID) {\n const data = { gameId, keyword, pageIndex, pageSize }\n return await this._dna_request<DNASearchTopicBean>(\"forum/searchPost\", data)\n }\n\n async searchUser(keyword: string, pageIndex: number, pageSize: number) {\n const data = { keyword, pageIndex, pageSize }\n return await this._dna_request<DNASearchUserBean>(\"forum/searchPost\", data)\n }\n\n async shareTask() {\n const data = { gameId: DNA_GAME_ID }\n return await this._dna_request(\"encourage/level/shareTask\", data)\n }\n\n async bbsSign() {\n const data = { gameId: DNA_GAME_ID }\n return await this._dna_request<DNASignInBean>(\"user/signIn\", data)\n }\n\n async strongRecommend(post: { postId: number; gameId?: number; gameForumId: number }, operateType = 1) {\n const data = {\n postId: post.postId,\n gameId: post.gameId ?? DNA_GAME_ID,\n gameForumId: post.gameForumId,\n operateType: operateType,\n }\n return await this._dna_request(\"forum/moderator/setForceRecommend\", data)\n }\n\n async viewCommunity() {\n return await this._dna_request(\"encourage/level/viewCommunity\")\n }\n\n async viewCount(postId: number, gameId = DNA_GAME_ID) {\n return await this._dna_request(\"forum/viewCount\", { gameId, postId })\n }\n\n async getTaskProcess() {\n const data = { gameId: DNA_GAME_ID }\n return await this._dna_request<DNAUserTaskProcessEntity>(\"encourage/level/getTaskProcess\", data)\n }\n\n async soulTask() {\n return await this._dna_request<DNASoulTaskBean>(\"role/soul/task\")\n }\n}\n",
|
|
10
10
|
"import { DNASubModule, DNABaseAPI } from \"./base\"\nimport {\n DNARoleEntityForTrend,\n DNARoleListBean,\n DNAMineFansBean,\n DNAMineFollowBean,\n DNADraftBean,\n DNAFastBindResultBean,\n DNABindStatus,\n DNAProfileResponse,\n DNAProfileLoadResponse,\n DNANotifySwitchEntity,\n DNAHistoryBean,\n DNAAcewarBean,\n DNAModeratorByGame,\n} from \"../type-generated\"\n\nexport class ProfileAPI extends DNASubModule {\n constructor(base: DNABaseAPI) {\n super(base)\n }\n async blackUser(toUserId: string, type: number) {\n return await this._dna_request(\"user/blackUser\", { toUserId, type })\n }\n\n async cleanFansNew(type: number, userFollowId: string) {\n return await this._dna_request(\"user/cleanFansNew\", { type, userFollowId })\n }\n\n async collect(postId: number, toUserId: string, operateType = 1) {\n return await this._dna_request(\"forum/collect\", { operateType, postId, toUserId })\n }\n\n async defaultRole(otherUserId?: string, type: number = 1) {\n return await this._dna_request<DNARoleEntityForTrend>(\"user/defaultRole\", { otherUserId, type })\n }\n\n async deleteRole(roleBoundId: string) {\n return await this._dna_request<DNARoleListBean>(\"role/remove\", { roleBoundId })\n }\n\n async draftDelete(draftId: string) {\n return await this._dna_request(\"forum/more/draftDelete\", { draftId })\n }\n\n async fans(otherUserId: string, pageNo: number, pageSize: number, type: number) {\n return await this._dna_request<DNAMineFansBean>(\"user/fans\", { otherUserId, pageNo, pageSize, type })\n }\n\n async fastBind() {\n return await this._dna_request<DNAFastBindResultBean>(\"role/quickBound\")\n }\n\n async follow(otherUserId: string, pageNo: number, pageSize: number, type: number) {\n return await this._dna_request<DNAMineFollowBean>(\"user/follow\", { otherUserId, pageNo, pageSize, type })\n }\n\n async followUser(followUserId: string, unfollow?: boolean) {\n return await this._dna_request(\"user/followUser\", { followUserId, operateType: unfollow ? 0 : 1 })\n }\n\n async getApplyStatus() {\n return await this._dna_request<DNABindStatus>(\"user/creator/getApplyStatus\")\n }\n\n async getDraftList(pageIndex: number, pageSize: number) {\n return await this._dna_request<DNADraftBean>(\"forum/getDraftList\", { pageIndex, pageSize })\n }\n\n async getMineComment(otherUserId: string, pageIndex: number, pageSize: number, type: number) {\n return await this._dna_request<DNAProfileResponse>(\"user/notice/mine\", { otherUserId, pageIndex, pageSize, type })\n }\n\n async getMinePost(otherUserId: string, pageIndex: number, pageSize: number, searchType: number, type: number, postType?: number) {\n return await this._dna_request<DNAProfileLoadResponse>(\"forum/getMinePost\", {\n otherUserId,\n pageIndex,\n pageSize,\n searchType,\n type,\n postType,\n })\n }\n\n async getNotifySwitch() {\n return await this._dna_request<DNANotifySwitchEntity>(\"user/push/getSwitchStatus\")\n }\n\n async historyView(pageIndex: number, pageSize: number) {\n return await this._dna_request<DNAHistoryBean>(\"forum/historyView\", { pageIndex, pageSize })\n }\n\n async like(data: {\n forumId: number\n gameId: number\n likeType: number\n operateType: number\n postCommentId: number\n postCommentReplyId: number\n postId: number\n postType: number\n toUserId: string\n }) {\n return await this._dna_request(\"forum/like\", data)\n }\n\n async manualBound(roleId: string, type: number, code: string) {\n return await this._dna_request<DNAAcewarBean>(\"role/manualBound\", { roleId, type, code })\n }\n\n async mine(otherUserId: string, searchType: number, type: number, postType?: number) {\n const data: Record<string, any> = { otherUserId, searchType, type, postType }\n if (!otherUserId) {\n delete data.otherUserId\n }\n return await this._dna_request<DNAProfileResponse>(\"user/mine\", data)\n }\n\n async mineV2(otherUserId: string) {\n return await this._dna_request<DNAProfileResponse>(\"user/mineV2\", { otherUserId })\n }\n\n async moderatorByGame(gameId: number) {\n return await this._dna_request<DNAModeratorByGame>(\"user/moderator/getModeratorByGame\", { gameId })\n }\n\n async muteCancel(toUserId: string) {\n return await this._dna_request(\"forum/moderator/muteCancel\", { toUserId })\n }\n\n async muteUser(toUserId: string, gameIdStr: string, type: number, reason: number, content: string) {\n return await this._dna_request(\"forum/moderator/muteUser\", { toUserId, gameIdStr, type, reason, content })\n }\n\n async resetDefault(roleBoundId: string) {\n return await this._dna_request<DNARoleListBean>(\"role/resetDefault\", { roleBoundId })\n }\n\n async roleManager() {\n return await this._dna_request<DNARoleListBean>(\"role/list\")\n }\n}\n",
|
|
11
11
|
"import { DNASubModule, DNABaseAPI } from \"./base\"\nimport {\n DNACancleStatus,\n DNACommonBooleanBean,\n DNAPrivateSetBean,\n DNAUserAddressBean,\n DNAsettingBlackBean,\n DNAsettingMsgShiledBean,\n DNAsettingPostShiledBean,\n DNANotifySwitchEntity,\n} from \"../type-generated\"\n\nexport class SettingAPI extends DNASubModule {\n constructor(base: DNABaseAPI) {\n super(base)\n }\n async addAddress(receiverName: string, receiverMobile: string, receiverAddress: string) {\n return await this._dna_request(\"user/more/userAddressAdd\", { receiverName, receiverMobile, receiverAddress })\n }\n\n async blackUser(toUserId: string, type: number) {\n return await this._dna_request(\"user/blackUser\", { toUserId, type })\n }\n\n async cancelCode(code: string) {\n return await this._dna_request(\"user/more/cancelCode\", { code })\n }\n\n async cancel(cancelType: number, operateType: number, position: string, cancelReason: number | null, reasonDetail: string) {\n return await this._dna_request(\"user/more/cancel\", { cancelType, operateType, position, cancelReason, reasonDetail })\n }\n\n async deleteAddress(addressId: number) {\n return await this._dna_request<DNACommonBooleanBean>(\"user/more/deleteUserAddress\", { addressId })\n }\n\n async editAddress(addressId: number, receiverName: string, receiverMobile: string, receiverAddress: string) {\n return await this._dna_request<DNACommonBooleanBean>(\"user/more/userAddressEdit\", {\n addressId,\n receiverName,\n receiverMobile,\n receiverAddress,\n })\n }\n\n async feedback(listPic: string, proDesc: string, mobile: string, isLogin: number) {\n return await this._dna_request(\"user/more/feedback\", { listPic, proDesc, mobile, isLogin })\n }\n\n async getCancelStatus() {\n return await this._dna_request<DNACancleStatus>(\"user/more/getCancelStatus\")\n }\n\n async getNotifySwitch() {\n return await this._dna_request<DNANotifySwitchEntity>(\"user/push/getSwitchStatus\")\n }\n\n async getPrivateSet() {\n return await this._dna_request<DNAPrivateSetBean>(\"user/getPrivateSet\")\n }\n\n async getUserAddress(userId: number, type: number) {\n return await this._dna_request<DNAUserAddressBean>(\"user/more/getUserAddress\", { userId, type })\n }\n\n async getUserBlackList(pageIndex: number, pageSize: number) {\n return await this._dna_request<DNAsettingBlackBean>(\"user/getUserBlackList\", { pageIndex, pageSize })\n }\n\n async msgListDetail(pageNo: number, pageSize: number, type: number) {\n return await this._dna_request<DNAsettingMsgShiledBean>(\"user/block/listDetail\", { pageNo, pageSize, type })\n }\n\n async postListDetail(pageNo: number, pageSize: number, type: number) {\n return await this._dna_request<DNAsettingPostShiledBean>(\"user/block/listDetail\", { pageNo, pageSize, type })\n }\n\n async privateSet(operateType: number, option: number) {\n return await this._dna_request(\"user/privateSet\", { operateType, option })\n }\n\n async sendSms(mobile: string, timeStamp: string, type: number) {\n return await this._dna_request(\"user/sms/sendSms\", { mobile, timeStamp, type })\n }\n\n async setDefaultAddress(addressId: number) {\n return await this._dna_request<DNACommonBooleanBean>(\"user/more/setDefaultAddress\", { addressId })\n }\n\n async setNotifySwitch(operateType: number, switchType: number) {\n return await this._dna_request(\"user/push/updateSwitchStatus\", { operateType, switchType })\n }\n\n async uploadFeedBack(file: File) {\n const data = new FormData()\n data.append(\"parts\", file)\n return await this.fileUpload(\"user/img/uploadFeedBack\", data)\n }\n}\n",
|
|
12
12
|
"import { DNASubModule, DNABaseAPI } from \"./base\"\nimport {\n DNATopicListBean,\n DNAParseLinkBean,\n DNAPostPublishPageBean,\n DNAPublishPostResponse,\n DNARecomdBean,\n DNATrendPostBean,\n DNAVodTokenBean,\n DNATipsBean,\n DNACommonBooleanBean,\n} from \"../type-generated\"\n\nexport class TrendAPI extends DNASubModule {\n constructor(base: DNABaseAPI) {\n super(base)\n }\n async draftSave(\n content: string,\n draftId: string,\n h5Content: string,\n postTitle: string,\n postType: number,\n gameId: number,\n videoReUpload: number,\n ) {\n return await this._dna_request(\"forum/draftSave\", { content, draftId, h5Content, postTitle, postType, gameId, videoReUpload })\n }\n\n async followUser(followUserId: string, operateType: number) {\n return await this._dna_request(\"user/followUser\", { followUserId, operateType })\n }\n\n async getConfigTopicByGameId(name: string, showType: number) {\n return await this._dna_request<DNATopicListBean[]>(\"config/getConfigTopicByGameId\", { name, showType })\n }\n\n async getPostPublishPage() {\n return await this._dna_request<DNAPostPublishPageBean>(\"forum/getPostPublishPage\")\n }\n\n async getRecommend(history: string, pageSize: number) {\n return await this._dna_request<DNARecomdBean>(\"user/getRecommend\", { history, pageSize })\n }\n\n async getTips() {\n return await this._dna_request<DNATipsBean>(\"config/getTips\")\n }\n\n async getVodToken(fileName: string, title: string) {\n return await this._dna_request<DNAVodTokenBean>(\"forum/getVodToken\", { fileName, title })\n }\n\n async like(\n forumId: number,\n gameId: number,\n likeType: number,\n operateType: number,\n postCommentId: number,\n postCommentReplyId: number,\n postId: number,\n postType: number,\n toUserId: string,\n ) {\n return await this._dna_request(\"forum/like\", {\n forumId,\n gameId,\n likeType,\n operateType,\n postCommentId,\n postCommentReplyId,\n postId,\n postType,\n toUserId,\n })\n }\n\n async list(pageIndex: number, pageSize: number, userId: string) {\n return await this._dna_request<DNATrendPostBean>(\"forum/dynamic/list\", { pageIndex, pageSize, userId })\n }\n\n async parseLink(link: string) {\n return await this._dna_request<DNAParseLinkBean>(\"forum/parseLink\", { link })\n }\n\n async posAdminEdit(\n content: string,\n gameForumId: number,\n h5Content: string,\n postId: string,\n postTitle: string,\n topics: string,\n postType: number,\n gameId: number,\n videoReUpload: number,\n ) {\n return await this._dna_request<DNAPublishPostResponse>(\"forum/moderator/postEdit\", {\n content,\n gameForumId,\n h5Content,\n postId,\n postTitle,\n topics,\n postType,\n gameId,\n videoReUpload,\n })\n }\n\n async postEdit(\n content: string,\n gameForumId: number,\n h5Content: string,\n postId: string,\n postTitle: string,\n topics: string,\n postType: number,\n videoReUpload: number,\n ) {\n return await this._dna_request<DNAPublishPostResponse>(\"forum/postEdit\", {\n content,\n gameForumId,\n h5Content,\n postId,\n postTitle,\n topics,\n postType,\n videoReUpload,\n })\n }\n\n async postPublish(\n content: string,\n draftId: string,\n gameForumId: number,\n gameId: number,\n h5Content: string,\n postTitle: string,\n postType: number,\n topics: string,\n ) {\n return await this._dna_request<DNAPublishPostResponse>(\"forum/postPublish\", {\n content,\n draftId,\n gameForumId,\n gameId,\n h5Content,\n postTitle,\n postType,\n topics,\n })\n }\n\n async safeCheck(url: string) {\n return await this._dna_request<DNACommonBooleanBean>(\"forum/more/safeCheck\", { url })\n }\n\n /**\n * 图片上传\n */\n async uploadImage(file: File) {\n const data = new FormData()\n data.append(\"files\", file)\n data.append(\"type\", \"post\")\n return await this.fileUpload(\"config/img/upload\", data)\n }\n\n async videoPostPublish(\n content: string,\n draftId: string,\n gameForumId: number,\n gameId: number,\n h5Content: string,\n postTitle: string,\n postType: number,\n topics: string,\n ) {\n return await this._dna_request<DNAPublishPostResponse>(\"forum/moderator/postPublish\", {\n content,\n draftId,\n gameForumId,\n gameId,\n h5Content,\n postTitle,\n postType,\n topics,\n })\n }\n\n async viewCount(gameId: number, postId: number) {\n return await this._dna_request(\"forum/viewCount\", { gameId, postId })\n }\n}\n",
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
"import { DNASubModule, DNABaseAPI } from \"./base\"\nimport {\n DNABlockBean,\n DNACanEditNickNameBean,\n DNACommonConfigEntity,\n DNAConfigSwitchBean,\n DNAFollowGameIdBean,\n DNAHaveOfficialRoleBean,\n DNAIsRedPointBean,\n DNARecommendConfig,\n DNAScreenResponse,\n DNASplashResponse,\n DNATokenBean,\n DNAUserHeadResponse,\n DNAWikiVoEntity,\n DNAModeratorPermission,\n DNAUserDataBean,\n DNAGameConfigResponse,\n DNAGameNewHeadBean,\n DNAEmojiConfigBean,\n} from \"../type-generated\"\nimport { aesDecryptImageUrl } from \"./utils\"\nimport { DNA_GAME_ID } from \"./types\"\n\nexport class UserAPI extends DNASubModule {\n constructor(base: DNABaseAPI) {\n super(base)\n }\n // 检查登录\n async loginLog() {\n return await this._dna_request(\"user/login/log\")\n }\n\n async blockList() {\n return await this._dna_request<DNABlockBean>(\"user/block/list\")\n }\n\n async canEditNickName() {\n return await this._dna_request<DNACanEditNickNameBean>(\"user/canUpdateNameTimes\")\n }\n\n async cancel(cancelType: number, operateType: number, position: string, cancelReason: number | null, reasonDetail: string) {\n return await this._dna_request(\"user/more/cancel\", { cancelType, operateType, position, cancelReason, reasonDetail })\n }\n\n async cleanToken() {\n return await this._dna_request(\"user/cleanToken\")\n }\n\n async editGender(gender: number) {\n return await this._dna_request(\"user/editGender\", { gender })\n }\n\n async editNickName(userName: string) {\n return await this._dna_request<DNACanEditNickNameBean>(\"user/updateName\", { userName })\n }\n\n async getCommonConfig() {\n return await this._dna_request<DNACommonConfigEntity>(\"config/getCommonConfig\")\n }\n\n async getConfig() {\n return await this._dna_request<DNASplashResponse>(\"config/getConfig\")\n }\n\n async getConfigSwitch() {\n return await this._dna_request<DNAConfigSwitchBean>(\"config/switchAll\")\n }\n\n async getModeratorPermission() {\n return await this._dna_request<DNAModeratorPermission>(\"user/moderator/getModeratorPermission\")\n }\n\n async getOpenScreen() {\n return await this._dna_request<DNAScreenResponse>(\"config/getOpenScreen\")\n }\n\n async getPublicKey() {\n return await this._dna_request<{ key: string }>(\"config/getRsaPublicKey\")\n }\n\n async getUserGame() {\n return await this._dna_request<DNAFollowGameIdBean>(\"user/getUserGame\")\n }\n\n async getWikiData() {\n return await this._dna_request<DNAWikiVoEntity>(\"config/getGameWiki\")\n }\n\n async haveOfficialRole() {\n return await this._dna_request<DNAHaveOfficialRoleBean>(\"role/haveOfficialRole\")\n }\n\n async isRedPoint() {\n return await this._dna_request<DNAIsRedPointBean>(\"forum/dynamic/isRedPoint\")\n }\n\n async login(mobile: string, code: string) {\n const data = { code: code, devCode: this.dev_code, gameList: DNA_GAME_ID, loginType: 1, mobile: mobile }\n const res = await this._dna_request<DNAUserDataBean>(\"user/sdkLogin\", data, { sign: true })\n if (res.is_success && res.data) {\n const data = res.data\n if (typeof data.token === \"string\") {\n this.token = data.token\n }\n }\n return res\n }\n\n async oneTapLoginRestriction() {\n return await this._dna_request(\"user/oneTapLoginRestriction\")\n }\n\n async recommendConfig() {\n return await this._dna_request<DNARecommendConfig>(\"forum/recommend/config\")\n }\n\n async refreshToken(refreshToken: string) {\n return await this._dna_request<DNATokenBean>(\"user/refreshToken\", { refreshToken })\n }\n\n async register(code: string, devCode: string, gameList: string, mobile: string, password: string) {\n return await this._dna_request<DNAUserDataBean>(\"user/register\", { code, devCode, gameList, mobile, password })\n }\n\n async saveUserInfo(gender: number | null, headCode: string, headUrl: string, userName: string) {\n return await this._dna_request<DNAUserHeadResponse>(\"user/saveUserInfo\", { gender, headCode, headUrl, userName })\n }\n\n async sendSms(mobile: string, vJson: string, isCaptcha: number | null) {\n return await this._dna_request(\"user/getSmsCode\", { mobile, isCaptcha, vJson })\n }\n\n async signature(newSignature: string) {\n return await this._dna_request(\"user/edit/signature\", { newSignature })\n }\n\n async updateHeadCode(headCode: string) {\n return await this._dna_request<DNAUserHeadResponse>(\"user/updateHeadCode\", { headCode })\n }\n\n async updateHeadUrl(headUrl: string) {\n return await this._dna_request(\"user/updateHeadUrl\", { headUrl })\n }\n\n async updateProfileBg(bgUrl: string) {\n return await this._dna_request(\"user/updateBg\", { bgUrl })\n }\n\n async uploadHead(file: File) {\n const data = new FormData()\n data.append(\"parts\", file)\n return await this.fileUpload(\"user/img/uploadHead\", data)\n }\n\n async uploadProfileBg(file: File) {\n const data = new FormData()\n data.append(\"parts\", file)\n return await this.fileUpload(\"user/img/uploadMineBg\", data)\n }\n\n async getEmoji() {\n return await this._dna_request<DNAEmojiConfigBean[]>(\"config/getEmoji\")\n }\n\n async getGameConfig() {\n return await this._dna_request<DNAGameConfigResponse[]>(\"config/getGameConfig\")\n }\n\n async getGameHeadCode() {\n return await this._dna_request<DNAGameNewHeadBean[]>(\"user/getGameHeadCode\")\n }\n}\n",
|
|
15
15
|
"import { DNASubModule, DNABaseAPI } from \"./base\"\nimport {\n DNAAliProductConfigBean,\n DNAAliProductListBean,\n DNAApplyStatusBean,\n DNACreatorDescriptionBean,\n DNACustomCreativeDesc,\n DNAGoldBuyBean,\n DNAGoldDrawBean,\n DNAGoldGoodsEntity,\n DNAGoldRealBean,\n DNAGoldRecordEntity,\n DNAGoldTotalBean,\n DNALookPageBean,\n DNALuckyDrawBean,\n DNAUserExperienceRecordEntity,\n DNAUserGameLevelEntity,\n DNAUserTaskProcessEntity,\n DNAWinListBean,\n DNACommonBooleanBean,\n DNAUserAddressBean,\n} from \"../type-generated\"\n\nexport class UserGrowingAPI extends DNASubModule {\n constructor(base: DNABaseAPI) {\n super(base)\n }\n async addAddress(receiverName: string, receiverMobile: string, receiverAddress: string) {\n return await this._dna_request(\"user/more/userAddressAdd\", { receiverName, receiverMobile, receiverAddress })\n }\n\n async apply(\n type: number,\n id: number | null,\n concatWay: string,\n otherPlatform: string,\n otherPlatformUrl: string,\n otherPlatformFans: string,\n materialUrl: string,\n gameId: number | null,\n ) {\n return await this._dna_request<DNAApplyStatusBean>(\"user/creator/apply\", {\n type,\n id,\n concatWay,\n otherPlatform,\n otherPlatformUrl,\n otherPlatformFans,\n materialUrl,\n gameId,\n })\n }\n\n async awardList(drawId: number) {\n return await this._dna_request<DNAWinListBean>(\"encourage/draw/awardList\", { drawId })\n }\n\n async awardWin(drawId: number, fullName: string, mobile: string, address: string) {\n return await this._dna_request(\"/encourage/draw/awardWin\", { drawId, fullName, mobile, address })\n }\n\n async buyGold(drawId: number, count: number) {\n return await this._dna_request<DNAGoldBuyBean>(\"encourage/draw/buy\", { drawId, count })\n }\n\n async buyProduct(address: string, fullName: string, mobile: string, productId: number) {\n return await this._dna_request(\"/encourage/store/buyProduct\", { address, fullName, mobile, productId })\n }\n\n async deleteAddress(addressId: number) {\n return await this._dna_request<DNACommonBooleanBean>(\"user/more/deleteUserAddress\", { addressId })\n }\n\n async drawDetail(drawId: number) {\n return await this._dna_request<DNAGoldDrawBean>(\"encourage/draw/detail\", { drawId })\n }\n\n async editAddress(addressId: number, receiverName: string, receiverMobile: string, receiverAddress: string) {\n return await this._dna_request<DNACommonBooleanBean>(\"user/more/userAddressEdit\", {\n addressId,\n receiverName,\n receiverMobile,\n receiverAddress,\n })\n }\n\n async getAliProductConfig() {\n return await this._dna_request<DNAAliProductConfigBean>(\"encourage/store/ali/getAliStoreConfigAndBanner\")\n }\n\n async getAliProductList(gameId: number | null, pageIndex: number, pageSize: number) {\n return await this._dna_request<DNAAliProductListBean>(\"encourage/store/ali/productList\", { gameId, pageIndex, pageSize })\n }\n\n async getApplyPage() {\n return await this._dna_request<DNACustomCreativeDesc>(\"user/creator/getApplyPage\")\n }\n\n async getExpLogsList(gameId: number, pageIndex: number, pageSize: number) {\n return await this._dna_request<DNAUserExperienceRecordEntity>(\"encourage/level/getExpLogs\", { gameId, pageIndex, pageSize })\n }\n\n async getGameCreator() {\n return await this._dna_request<DNACreatorDescriptionBean>(\"config/identification/getGameCreator\")\n }\n\n async getGoldDetailList(pageIndex: number, pageSize: number, type: number, storeType: number) {\n return await this._dna_request<DNAGoldRecordEntity>(\"encourage/gold/getGoldLogs\", { pageIndex, pageSize, type, storeType })\n }\n\n async getProductList(gameId: number | null, pageIndex: number, pageSize: number, storeType: number) {\n return await this._dna_request<DNAGoldGoodsEntity>(\"encourage/store/productList\", { gameId, pageIndex, pageSize, storeType })\n }\n\n async getTotalGold(type?: number) {\n if (type !== undefined) {\n return await this._dna_request<DNAGoldTotalBean>(\"encourage/gold/getTotalGold\", { type })\n }\n return await this._dna_request<DNAGoldTotalBean>(\"encourage/gold/getTotalGold\")\n }\n\n async getUserAddress(userId: number, type: number) {\n return await this._dna_request<DNAUserAddressBean>(\"user/more/getUserAddress\", { userId, type })\n }\n\n async getUserGameLevel(gameId: number | null, ifProcess: number, otherUserId: number | null) {\n return await this._dna_request<DNAUserGameLevelEntity>(\"encourage/level/getUserGameLevelDetail\", {\n gameId,\n ifProcess,\n otherUserId,\n })\n }\n\n async getUserGameTaskProcess(gameId: number, userId: number) {\n return await this._dna_request<DNAUserTaskProcessEntity>(\"encourage/level/getTaskProcess\", { gameId, userId })\n }\n\n async list(pageIndex: number, pageSize: number, queryType: number | null, gameId: number | null) {\n return await this._dna_request<DNALuckyDrawBean>(\"encourage/draw/list\", { pageIndex, pageSize, queryType, gameId })\n }\n\n async page() {\n return await this._dna_request<DNALookPageBean>(\"user/creator/page\")\n }\n\n async productDetail(productId: number) {\n return await this._dna_request<DNAGoldRealBean>(\"encourage/store/productDetail\", { productId })\n }\n\n async setDefaultAddress(addressId: number) {\n return await this._dna_request<DNACommonBooleanBean>(\"user/more/setDefaultAddress\", { addressId })\n }\n\n async uploadImage(file: File) {\n const data = new FormData()\n data.append(\"parts\", file)\n return await this.fileUpload(\"user/img/uploadHead\", data)\n }\n}\n",
|
|
16
16
|
"import { DNASubModule, DNABaseAPI } from \"./base\"\n\nexport interface DNAMapMatterCategorizeOption {\n icon: string\n id: number\n matters: DNAMapMatter[]\n name: string\n sort?: number\n}\n\nexport interface DNAMatterCategorizeDetail {\n icon: string\n id: number\n matters: DNAMapMatterDetail[]\n name: string\n sort?: number\n}\n\nexport interface DNAMapMatter {\n icon: string\n id: number\n mapMatterCategorizeId: number\n name: string\n sort: number\n}\n\nexport interface DNAMapCategorizeListRes {\n list: DNAMatterCategorizeList[]\n}\n\nexport interface DNAMatterCategorizeList {\n id: number\n maps: DNAMap[]\n name: string\n}\n\nexport interface DNAMapDetailRes {\n floors: DNAMapFloor[]\n matterCategorizes: DNAMatterCategorizeDetail[]\n map: DNAMap\n userSites: DNAMapSite[]\n}\n\nexport interface DNAMap {\n id: number\n name: string\n pid?: number\n}\n\nexport interface DNAMapMatterDetail extends DNAMapMatter {\n sites: DNAMapSite[]\n}\n\nexport interface DNAMapSite {\n id: number\n isHide: number\n mapFloorId: number\n mapId: number\n mapMatterId: number\n x: number\n y: number\n}\n\nexport interface DNAMapFloor {\n floor: number\n id: number\n name: string\n pic: string\n}\n\nexport interface DNAMapSiteDetailRes {\n contributes: DNAMapContribute[]\n description: string\n id: number\n isDel: number\n isHide: number\n mapFloorId: number\n mapId: number\n mapMatterCategorizeId: number\n mapMatterId: number\n pic: string\n script: string\n url: string\n urlDesc: string\n urlIcon: string\n x: number\n y: number\n}\n\ninterface DNAMapContribute {\n userHeadUrl: string\n userId: string\n userName: string\n}\n\nexport interface DNAEmoji {\n content: string[]\n gameId: number\n icon: string\n size: number\n title: string\n url: string\n}\n\nexport class H5API extends DNASubModule {\n constructor(base: DNABaseAPI) {\n super(base)\n }\n async getMapMatterCategorizeOptions() {\n return await this._dna_request_h5<DNAMapMatterCategorizeOption[]>(\"map/matter/categorize/getOptions\")\n }\n\n async getMapCategorizeList() {\n return await this._dna_request_h5<DNAMapCategorizeListRes>(\"map/categorize/list\")\n }\n\n async getMapDetail(id: number) {\n return await this._dna_request_h5<DNAMapDetailRes>(\"map/detail\", { id })\n }\n\n async getMapSiteDetail(id: number) {\n return await this._dna_request_h5<DNAMapSiteDetailRes>(\"map/site/detail\", { id })\n }\n\n async getEmojiList() {\n return await this._dna_request_h5<DNAEmoji[]>(\"config/getEmoji\")\n }\n}\n",
|
|
17
|
-
"export { TimeBasicResponse, RespCode } from \"./TimeBasicResponse\"\nexport { DNABaseAPI, DNASubModule } from \"./modules/base\"\nexport { GameAPI } from \"./modules/game\"\nexport { HomeAPI } from \"./modules/home\"\nexport { ProfileAPI } from \"./modules/profile\"\nexport { SettingAPI } from \"./modules/setting\"\nexport { TrendAPI } from \"./modules/trend\"\nexport { UserAPI } from \"./modules/user\"\nexport { UserGrowingAPI } from \"./modules/usergrowing\"\nexport * from \"./modules/h5\"\nexport * from \"./modules/types\"\nexport * from \"./type-generated\"\nexport * from \"./modules/utils\"\n\nimport { DNABaseAPI } from \"./modules/base\"\nimport { GameAPI } from \"./modules/game\"\nimport { HomeAPI } from \"./modules/home\"\nimport { ProfileAPI } from \"./modules/profile\"\nimport { SettingAPI } from \"./modules/setting\"\nimport { TrendAPI } from \"./modules/trend\"\nimport { UserAPI } from \"./modules/user\"\nimport { UserGrowingAPI } from \"./modules/usergrowing\"\nimport { H5API } from \"./modules/h5\"\nimport { DNA_GAME_ID } from \"./modules/types\"\n\n/**\n * DNA API类,用于与DNA游戏服务器交互\n */\nexport class DNAAPI extends DNABaseAPI {\n game: GameAPI\n home: HomeAPI\n profile: ProfileAPI\n setting: SettingAPI\n trend: TrendAPI\n user: UserAPI\n userGrowing: UserGrowingAPI\n h5: H5API\n\n constructor({\n dev_code = \"\",\n token = \"\",\n ...options\n }: { dev_code?: string; token?: string; fetchFn?: typeof fetch; is_h5?: boolean; rsa_public_key?: string } = {}) {\n super(dev_code, token, options)\n\n this.game = new GameAPI(this)\n this.home = new HomeAPI(this)\n this.profile = new ProfileAPI(this)\n this.setting = new SettingAPI(this)\n this.trend = new TrendAPI(this)\n this.user = new UserAPI(this)\n this.userGrowing = new UserGrowingAPI(this)\n this.h5 = new H5API(this)\n }\n\n /**\n * 手动初始化 API 配置(获取签名配置等)\n */\n async initialize(): Promise<void> {\n await this.initializeSignConfig()\n }\n\n get GAME_ID() {\n return DNA_GAME_ID\n }\n //#region Game 模块便捷方法\n async getMhSwitchStatus() {\n return await this.game.getMhSwitchStatus()\n }\n\n async updateMhSwitchStatus(config: string) {\n return await this.game.updateMhSwitchStatus(config)\n }\n\n async soulTask() {\n return await this.game.soulTask()\n }\n\n async defaultRoleForTool(type: number = 1, otherUserId?: string) {\n return await this.game.defaultRoleForTool(type, otherUserId)\n }\n\n async getRoleDetail(char_id: string, char_eid: string, otherUserId?: string) {\n return await this.game.getRoleDetail(char_id, char_eid, otherUserId)\n }\n\n async getWeaponDetail(weapon_id: string, weapon_eid: string, otherUserId?: string) {\n return await this.game.getWeaponDetail(weapon_id, weapon_eid, otherUserId)\n }\n\n async getShortNoteInfo() {\n return await this.game.getShortNoteInfo()\n }\n //#endregion\n //#region Home 模块便捷方法\n async getPostList(forumId: number = 48, pageIndex: number = 1, pageSize: number = 20, searchType: number = 1, timeType: number = 0) {\n return await this.home.getPostList(forumId, pageIndex, pageSize, searchType, timeType)\n }\n\n async getPostDetail(postId: string) {\n return await this.home.getPostDetail(postId)\n }\n\n async getPostByTopic(\n topicId: number = 177,\n pageIndex: number = 1,\n pageSize: number = 20,\n searchType: number = 1,\n timeType: number = 0,\n ) {\n return await this.home.getPostByTopic(topicId, pageIndex, pageSize, searchType, timeType)\n }\n\n async getTaskProcess() {\n return await this.home.getTaskProcess()\n }\n\n async haveSignIn() {\n return await this.home.haveSignIn()\n }\n\n async signCalendar() {\n return await this.home.signCalendar()\n }\n\n async gameSign(dayAwardId: number, period: number) {\n return await this.home.gameSignIn(dayAwardId, period)\n }\n\n async bbsSign() {\n return await this.home.bbsSign()\n }\n\n async getRoleList() {\n return await this.profile.roleManager()\n }\n\n async adminAdjustScore(postId: number, gameForumId: number, weight: string) {\n return await this.home.adminAdjustScore(postId, gameForumId, weight)\n }\n\n async adminDelete(post: { postId: number; gameId?: number; gameForumId: number }, content: string, reasonCode: number) {\n return await this.home.adminDelete(post, content, reasonCode)\n }\n\n async adminMovePost(\n post: { postId: number; gameId?: number; gameForumId: number },\n newGameId: number,\n newForumId: number,\n newTopicIdStr: string,\n ) {\n return await this.home.adminMovePost(post, newGameId, newForumId, newTopicIdStr)\n }\n\n async adminRefreshTime(post: { postId: number; gameId?: number; gameForumId: number }, refresh: number) {\n return await this.home.adminRefreshTime(post, refresh)\n }\n\n async blockList() {\n return await this.home.blockList()\n }\n\n async blockOther(blockPostId: number, blockUserId: string, type: number) {\n return await this.home.blockOther(blockPostId, blockUserId, type)\n }\n\n async collect(postId: number, toUserId: string, operateType = 1) {\n return await this.home.collect(postId, toUserId, operateType)\n }\n\n async commentDelete(\n comment: { id: number; gameId: number; gameForumId: number },\n entityType: number,\n content: string,\n reasonCode: number,\n ) {\n return await this.home.commentDelete(comment, entityType, content, reasonCode)\n }\n\n async createComment(post: { userId: string; postId: string; gameForumId: number }, content: string) {\n return await this.home.createComment(post, content)\n }\n\n async createReply(post: { userId: string; postId: string; postCommentId: string; gameForumId: number }, content: string) {\n return await this.home.createReply(post, content)\n }\n\n async createReplyList(\n post: { userId: string; postId: string; postCommentId: string; postCommentReplyId: string; gameForumId: number },\n content: string,\n ) {\n return await this.home.createReplyList(post, content)\n }\n\n async deletePost(deleteType: number, id: number) {\n return await this.home.deletePost(deleteType, id)\n }\n\n async followUser(followUserId: string, unfollow?: boolean) {\n return await this.home.followUser(followUserId, unfollow)\n }\n\n async getFollowState(followUserId: string) {\n return await this.home.getFollowState(followUserId)\n }\n\n async getDoujin(forumId: number) {\n return await this.home.getDoujin(forumId)\n }\n\n async getExchange(forumId: number) {\n return await this.home.getExchange(forumId)\n }\n\n async getGameBanner(gameId = DNA_GAME_ID) {\n return await this.home.getGameBanner(gameId)\n }\n\n async getPostCommentList(postId: number, pageIndex = 1, pageSize = 20, isOnlyPublisher = 0) {\n return await this.home.getPostCommentList(postId, pageIndex, pageSize, isOnlyPublisher)\n }\n\n async getRankList(forumId: number) {\n return await this.home.getRankList(forumId)\n }\n\n async getRecommendPosts(gameId = DNA_GAME_ID, pageIndex = 1, pageSize = 20) {\n return await this.home.getRecommendPosts(gameId, pageIndex, pageSize)\n }\n\n async getReplyList(postId: number, postCommentId: number, pageIndex = 1, pageSize = 20) {\n return await this.home.getReplyList(postId, postCommentId, pageIndex, pageSize)\n }\n\n async getStatistics(gameId = DNA_GAME_ID) {\n return await this.home.getStatistics(gameId)\n }\n\n async getTips() {\n return await this.home.getTips()\n }\n\n async getWalkthrough(forumId: number) {\n return await this.home.getWalkthrough(forumId)\n }\n\n async hotList(type = 1, gameId = DNA_GAME_ID) {\n return await this.home.hotList(type, gameId)\n }\n\n async isRedPoint() {\n return await this.home.isRedPoint()\n }\n\n async likePost(post: { gameForumId: string; postId: string; postType: string; userId: string }) {\n return await this.home.like(post)\n }\n\n async lockPost(post: { postId: number; gameId?: number; gameForumId: number }, operateType: number) {\n return await this.home.lockPost(post, operateType)\n }\n\n async postDownOrUp(post: { postId: number; gameId?: number; gameForumId: number }, operateType: number) {\n return await this.home.postDownOrUp(post, operateType)\n }\n\n async postElite(post: { postId: number; gameId?: number; gameForumId: number }, operateType: number) {\n return await this.home.postElite(post, operateType)\n }\n\n async postHide(post: { postId: number; gameId?: number; gameForumId: number }, operateType: number) {\n return await this.home.postHide(post, operateType)\n }\n\n async reRank(post: { postId: number; gameId?: number; gameForumId: number }, weight: number) {\n return await this.home.reRank(post, weight)\n }\n\n async receiveLog(periodId: number, pageIndex: number, pageSize: number) {\n return await this.home.receiveLog(periodId, pageIndex, pageSize)\n }\n\n async recommendList(recIndex: number, newIndex: number, size: number, history: string, gameId = DNA_GAME_ID) {\n return await this.home.recommendList(recIndex, newIndex, size, history, gameId)\n }\n\n async report(\n { commentId = 0, postId = 0, replyId = 0 }: { commentId?: number; postId?: number; replyId?: number },\n reportReason = 1,\n reportType = 1,\n ) {\n return await this.home.report({ commentId, postId, replyId }, reportReason, reportType)\n }\n\n async searchPost(keyword: string, pageIndex: number, pageSize: number, gameId = DNA_GAME_ID, searchType = 1) {\n return await this.home.searchPost(keyword, pageIndex, pageSize, gameId, searchType)\n }\n\n async searchTopic(keyword: string, pageIndex: number, pageSize = 20, gameId = DNA_GAME_ID) {\n return await this.home.searchTopic(keyword, pageIndex, pageSize, gameId)\n }\n\n async searchUser(keyword: string, pageIndex: number, pageSize: number) {\n return await this.home.searchUser(keyword, pageIndex, pageSize)\n }\n\n async shareTask() {\n return await this.home.shareTask()\n }\n\n async strongRecommend(post: { postId: number; gameId?: number; gameForumId: number }, operateType = 1) {\n return await this.home.strongRecommend(post, operateType)\n }\n\n async viewCommunity() {\n return await this.home.viewCommunity()\n }\n\n async viewCount(postId: number, gameId = DNA_GAME_ID) {\n return await this.home.viewCount(postId, gameId)\n }\n //#endregion\n //#region User 模块便捷方法\n async loginLog() {\n return await this.user.loginLog()\n }\n\n async login(mobile: string, code: string) {\n return await this.user.login(mobile, code)\n }\n\n async getSmsCode(mobile: string, vJson: string) {\n return await this.user.sendSms(mobile, vJson, 1)\n }\n\n async getMine(userId = \"\", searchType = 1, type = 0) {\n return await this.profile.mine(userId, searchType, type)\n }\n\n async getOtherMine(userId = \"709542994134436647\", searchType = 1, type = 2) {\n return await this.profile.mine(userId, searchType, type)\n }\n\n async canEditNickName() {\n return await this.user.canEditNickName()\n }\n\n async cleanToken() {\n return await this.user.cleanToken()\n }\n\n async editGender(gender: number) {\n return await this.user.editGender(gender)\n }\n\n async editNickName(userName: string) {\n return await this.user.editNickName(userName)\n }\n\n async getCommonConfig() {\n return await this.user.getCommonConfig()\n }\n\n async getConfig() {\n return await this.user.getConfig()\n }\n\n async getConfigSwitch() {\n return await this.user.getConfigSwitch()\n }\n\n async getModeratorPermission() {\n return await this.user.getModeratorPermission()\n }\n\n async getOpenScreen() {\n return await this.user.getOpenScreen()\n }\n\n async getPublicKey() {\n return await this.user.getPublicKey()\n }\n\n async getUserGame() {\n return await this.user.getUserGame()\n }\n\n async getWikiData() {\n return await this.user.getWikiData()\n }\n\n async haveOfficialRole() {\n return await this.user.haveOfficialRole()\n }\n\n async oneTapLoginRestriction() {\n return await this.user.oneTapLoginRestriction()\n }\n\n async recommendConfig() {\n return await this.user.recommendConfig()\n }\n\n async refreshToken(refreshToken: string) {\n return await this.user.refreshToken(refreshToken)\n }\n\n async register(code: string, devCode: string, gameList: string, mobile: string, password: string) {\n return await this.user.register(code, devCode, gameList, mobile, password)\n }\n\n async saveUserInfo(gender: number | null, headCode: string, headUrl: string, userName: string) {\n return await this.user.saveUserInfo(gender, headCode, headUrl, userName)\n }\n\n async signature(newSignature: string) {\n return await this.user.signature(newSignature)\n }\n\n async updateHeadCode(headCode: string) {\n return await this.user.updateHeadCode(headCode)\n }\n\n async updateHeadUrl(headUrl: string) {\n return await this.user.updateHeadUrl(headUrl)\n }\n\n async updateProfileBg(bgUrl: string) {\n return await this.user.updateProfileBg(bgUrl)\n }\n\n async uploadHead(file: File) {\n return await this.user.uploadHead(file)\n }\n\n async uploadProfileBg(file: File) {\n return await this.user.uploadProfileBg(file)\n }\n\n async getEmoji() {\n return await this.user.getEmoji()\n }\n\n async getGameConfig() {\n return await this.user.getGameConfig()\n }\n\n async getGameHeadCode() {\n return await this.user.getGameHeadCode()\n }\n\n //#endregion\n //#region H5 模块便捷方法\n async getMapCategorizeList() {\n return await this.h5.getMapCategorizeList()\n }\n\n async getMapDetail(id: number) {\n return await this.h5.getMapDetail(id)\n }\n\n async getMapSiteDetail(id: number) {\n return await this.h5.getMapSiteDetail(id)\n }\n\n async getEmojiList() {\n return await this.h5.getEmojiList()\n }\n\n async getMapMatterCategorizeOptions() {\n return await this.h5.getMapMatterCategorizeOptions()\n }\n //#endregion\n //#region Profile 模块便捷方法\n async blackUser(toUserId: string, type: number) {\n return await this.profile.blackUser(toUserId, type)\n }\n\n async cleanFansNew(type: number, userFollowId: string) {\n return await this.profile.cleanFansNew(type, userFollowId)\n }\n\n async defaultRole(otherUserId?: string, type = 1) {\n return await this.profile.defaultRole(otherUserId, type)\n }\n\n async deleteRole(roleBoundId: string) {\n return await this.profile.deleteRole(roleBoundId)\n }\n\n async draftDelete(draftId: string) {\n return await this.profile.draftDelete(draftId)\n }\n\n async fans(otherUserId: string, pageNo: number, pageSize: number, type: number) {\n return await this.profile.fans(otherUserId, pageNo, pageSize, type)\n }\n\n async fastBind() {\n return await this.profile.fastBind()\n }\n\n async follow(otherUserId: string, pageNo: number, pageSize: number, type: number) {\n return await this.profile.follow(otherUserId, pageNo, pageSize, type)\n }\n\n async getApplyStatus() {\n return await this.profile.getApplyStatus()\n }\n\n async getDraftList(pageIndex: number, pageSize: number) {\n return await this.profile.getDraftList(pageIndex, pageSize)\n }\n\n async getMineComment(otherUserId: string, pageIndex: number, pageSize: number, type: number) {\n return await this.profile.getMineComment(otherUserId, pageIndex, pageSize, type)\n }\n\n async getMinePost(otherUserId: string, pageIndex: number, pageSize: number, searchType: number, type: number, postType?: number) {\n return await this.profile.getMinePost(otherUserId, pageIndex, pageSize, searchType, type, postType)\n }\n\n async getProfileNotifySwitch() {\n return await this.profile.getNotifySwitch()\n }\n\n async historyView(pageIndex: number, pageSize: number) {\n return await this.profile.historyView(pageIndex, pageSize)\n }\n\n async likeProfilePost(data: {\n forumId: number\n gameId: number\n likeType: number\n operateType: number\n postCommentId: number\n postCommentReplyId: number\n postId: number\n postType: number\n toUserId: string\n }) {\n return await this.profile.like(data)\n }\n\n async manualBound(roleId: string, type: number, code: string) {\n return await this.profile.manualBound(roleId, type, code)\n }\n\n async mine(otherUserId: string, searchType: number, type: number, postType?: number) {\n return await this.profile.mine(otherUserId, searchType, type, postType)\n }\n\n async mineV2(otherUserId: string) {\n return await this.profile.mineV2(otherUserId)\n }\n\n async moderatorByGame(gameId: number) {\n return await this.profile.moderatorByGame(gameId)\n }\n\n async muteCancel(toUserId: string) {\n return await this.profile.muteCancel(toUserId)\n }\n\n async muteUser(toUserId: string, gameIdStr: string, type: number, reason: number, content: string) {\n return await this.profile.muteUser(toUserId, gameIdStr, type, reason, content)\n }\n\n async resetDefault(roleBoundId: string) {\n return await this.profile.resetDefault(roleBoundId)\n }\n\n //#endregion\n //#region Setting 模块便捷方法\n async addAddress(receiverName: string, receiverMobile: string, receiverAddress: string) {\n return await this.setting.addAddress(receiverName, receiverMobile, receiverAddress)\n }\n\n async cancelCode(code: string) {\n return await this.setting.cancelCode(code)\n }\n\n async cancel(cancelType: number, operateType: number, position: string, cancelReason: number | null, reasonDetail: string) {\n return await this.setting.cancel(cancelType, operateType, position, cancelReason, reasonDetail)\n }\n\n async deleteAddress(addressId: number) {\n return await this.setting.deleteAddress(addressId)\n }\n\n async editAddress(addressId: number, receiverName: string, receiverMobile: string, receiverAddress: string) {\n return await this.setting.editAddress(addressId, receiverName, receiverMobile, receiverAddress)\n }\n\n async feedback(listPic: string, proDesc: string, mobile: string, isLogin: number) {\n return await this.setting.feedback(listPic, proDesc, mobile, isLogin)\n }\n\n async getCancelStatus() {\n return await this.setting.getCancelStatus()\n }\n\n async getPrivateSet() {\n return await this.setting.getPrivateSet()\n }\n\n async getUserAddress(userId: number, type: number) {\n return await this.setting.getUserAddress(userId, type)\n }\n\n async getUserBlackList(pageIndex: number, pageSize: number) {\n return await this.setting.getUserBlackList(pageIndex, pageSize)\n }\n\n async msgListDetail(pageNo: number, pageSize: number, type: number) {\n return await this.setting.msgListDetail(pageNo, pageSize, type)\n }\n\n async postListDetail(pageNo: number, pageSize: number, type: number) {\n return await this.setting.postListDetail(pageNo, pageSize, type)\n }\n\n async privateSet(operateType: number, option: number) {\n return await this.setting.privateSet(operateType, option)\n }\n\n async sendSms(mobile: string, timeStamp: string, type: number) {\n return await this.setting.sendSms(mobile, timeStamp, type)\n }\n\n async setDefaultAddress(addressId: number) {\n return await this.setting.setDefaultAddress(addressId)\n }\n\n async setNotifySwitch(operateType: number, switchType: number) {\n return await this.setting.setNotifySwitch(operateType, switchType)\n }\n\n async uploadFeedBack(file: File) {\n return await this.setting.uploadFeedBack(file)\n }\n\n //#endregion\n //#region Trend 模块便捷方法\n async draftSave(\n content: string,\n draftId: string,\n h5Content: string,\n postTitle: string,\n postType: number,\n gameId: number,\n videoReUpload: number,\n ) {\n return await this.trend.draftSave(content, draftId, h5Content, postTitle, postType, gameId, videoReUpload)\n }\n\n async getConfigTopicByGameId(name: string, showType: number) {\n return await this.trend.getConfigTopicByGameId(name, showType)\n }\n\n async getPostPublishPage() {\n return await this.trend.getPostPublishPage()\n }\n\n async getRecommend(history: string, pageSize: number) {\n return await this.trend.getRecommend(history, pageSize)\n }\n\n async getVodToken(fileName: string, title: string) {\n return await this.trend.getVodToken(fileName, title)\n }\n\n async trendList(pageIndex: number, pageSize: number, userId: string) {\n return await this.trend.list(pageIndex, pageSize, userId)\n }\n\n async parseLink(link: string) {\n return await this.trend.parseLink(link)\n }\n\n async posAdminEdit(\n content: string,\n gameForumId: number,\n h5Content: string,\n postId: string,\n postTitle: string,\n topics: string,\n postType: number,\n gameId: number,\n videoReUpload: number,\n ) {\n return await this.trend.posAdminEdit(content, gameForumId, h5Content, postId, postTitle, topics, postType, gameId, videoReUpload)\n }\n\n async postEdit(\n content: string,\n gameForumId: number,\n h5Content: string,\n postId: string,\n postTitle: string,\n topics: string,\n postType: number,\n videoReUpload: number,\n ) {\n return await this.trend.postEdit(content, gameForumId, h5Content, postId, postTitle, topics, postType, videoReUpload)\n }\n\n async postPublish(\n content: string,\n draftId: string,\n gameForumId: number,\n gameId: number,\n h5Content: string,\n postTitle: string,\n postType: number,\n topics: string,\n ) {\n return await this.trend.postPublish(content, draftId, gameForumId, gameId, h5Content, postTitle, postType, topics)\n }\n\n async safeCheck(url: string) {\n return await this.trend.safeCheck(url)\n }\n\n async uploadImage(file: File) {\n return await this.trend.uploadImage(file)\n }\n\n async videoPostPublish(\n content: string,\n draftId: string,\n gameForumId: number,\n gameId: number,\n h5Content: string,\n postTitle: string,\n postType: number,\n topics: string,\n ) {\n return await this.trend.videoPostPublish(content, draftId, gameForumId, gameId, h5Content, postTitle, postType, topics)\n }\n\n //#endregion\n //#region UserGrowing 模块便捷方法\n async apply(\n type: number,\n id: number | null,\n concatWay: string,\n otherPlatform: string,\n otherPlatformUrl: string,\n otherPlatformFans: string,\n materialUrl: string,\n gameId: number | null,\n ) {\n return await this.userGrowing.apply(type, id, concatWay, otherPlatform, otherPlatformUrl, otherPlatformFans, materialUrl, gameId)\n }\n\n async awardList(drawId: number) {\n return await this.userGrowing.awardList(drawId)\n }\n\n async awardWin(drawId: number, fullName: string, mobile: string, address: string) {\n return await this.userGrowing.awardWin(drawId, fullName, mobile, address)\n }\n\n async buyGold(drawId: number, count: number) {\n return await this.userGrowing.buyGold(drawId, count)\n }\n\n async buyProduct(address: string, fullName: string, mobile: string, productId: number) {\n return await this.userGrowing.buyProduct(address, fullName, mobile, productId)\n }\n\n async drawDetail(drawId: number) {\n return await this.userGrowing.drawDetail(drawId)\n }\n\n async getAliProductConfig() {\n return await this.userGrowing.getAliProductConfig()\n }\n\n async getAliProductList(gameId: number | null, pageIndex: number, pageSize: number) {\n return await this.userGrowing.getAliProductList(gameId, pageIndex, pageSize)\n }\n\n async getApplyPage() {\n return await this.userGrowing.getApplyPage()\n }\n\n async getExpLogsList(gameId: number, pageIndex: number, pageSize: number) {\n return await this.userGrowing.getExpLogsList(gameId, pageIndex, pageSize)\n }\n\n async getGameCreator() {\n return await this.userGrowing.getGameCreator()\n }\n\n async getGoldDetailList(pageIndex: number, pageSize: number, type: number, storeType: number) {\n return await this.userGrowing.getGoldDetailList(pageIndex, pageSize, type, storeType)\n }\n\n async getProductList(gameId: number | null, pageIndex: number, pageSize: number, storeType: number) {\n return await this.userGrowing.getProductList(gameId, pageIndex, pageSize, storeType)\n }\n\n async getTotalGold(type?: number) {\n return await this.userGrowing.getTotalGold(type)\n }\n\n async getUserGameLevel(gameId: number | null, ifProcess: number, otherUserId: number | null) {\n return await this.userGrowing.getUserGameLevel(gameId, ifProcess, otherUserId)\n }\n\n async getUserGameTaskProcess(gameId: number, userId: number) {\n return await this.userGrowing.getUserGameTaskProcess(gameId, userId)\n }\n\n async list(pageIndex: number, pageSize: number, queryType: number | null, gameId: number | null) {\n return await this.userGrowing.list(pageIndex, pageSize, queryType, gameId)\n }\n\n async page() {\n return await this.userGrowing.page()\n }\n\n async productDetail(productId: number) {\n return await this.userGrowing.productDetail(productId)\n }\n\n //#endregion\n}\n"
|
|
17
|
+
"export { TimeBasicResponse, RespCode } from \"./TimeBasicResponse\"\nexport { DNABaseAPI, DNASubModule } from \"./modules/base\"\nexport { GameAPI } from \"./modules/game\"\nexport { HomeAPI } from \"./modules/home\"\nexport { ProfileAPI } from \"./modules/profile\"\nexport { SettingAPI } from \"./modules/setting\"\nexport { TrendAPI } from \"./modules/trend\"\nexport { UserAPI } from \"./modules/user\"\nexport { UserGrowingAPI } from \"./modules/usergrowing\"\nexport * from \"./modules/h5\"\nexport * from \"./modules/types\"\nexport * from \"./type-generated\"\nexport * from \"./modules/utils\"\n\nimport { DNABaseAPI } from \"./modules/base\"\nimport { GameAPI } from \"./modules/game\"\nimport { HomeAPI } from \"./modules/home\"\nimport { ProfileAPI } from \"./modules/profile\"\nimport { SettingAPI } from \"./modules/setting\"\nimport { TrendAPI } from \"./modules/trend\"\nimport { UserAPI } from \"./modules/user\"\nimport { UserGrowingAPI } from \"./modules/usergrowing\"\nimport { H5API } from \"./modules/h5\"\nimport { DNA_GAME_ID } from \"./modules/types\"\n\n/**\n * DNA API类,用于与DNA游戏服务器交互\n */\nexport class DNAAPI extends DNABaseAPI {\n game: GameAPI\n home: HomeAPI\n profile: ProfileAPI\n setting: SettingAPI\n trend: TrendAPI\n user: UserAPI\n userGrowing: UserGrowingAPI\n h5: H5API\n\n constructor({\n dev_code = \"\",\n token = \"\",\n ...options\n }: { dev_code?: string; token?: string; fetchFn?: typeof fetch; is_h5?: boolean; rsa_public_key?: string } = {}) {\n super(dev_code, token, options)\n\n this.game = new GameAPI(this)\n this.home = new HomeAPI(this)\n this.profile = new ProfileAPI(this)\n this.setting = new SettingAPI(this)\n this.trend = new TrendAPI(this)\n this.user = new UserAPI(this)\n this.userGrowing = new UserGrowingAPI(this)\n this.h5 = new H5API(this)\n }\n\n /**\n * 手动初始化 API 配置(获取签名配置等)\n */\n async initialize(): Promise<void> {\n await this.initializeSignConfig()\n }\n\n get GAME_ID() {\n return DNA_GAME_ID\n }\n //#region Game 模块便捷方法\n async getMhSwitchStatus() {\n return await this.game.getMhSwitchStatus()\n }\n\n async updateMhSwitchStatus(config: string) {\n return await this.game.updateMhSwitchStatus(config)\n }\n\n async soulTask() {\n return await this.game.soulTask()\n }\n\n async defaultRoleForTool(type: number = 1, otherUserId?: string) {\n return await this.game.defaultRoleForTool(type, otherUserId)\n }\n\n async getRoleDetail(char_id: string | number, char_eid: string, otherUserId?: string) {\n return await this.game.getRoleDetail(char_id, char_eid, otherUserId)\n }\n\n async getWeaponDetail(weapon_id: string | number, weapon_eid: string, otherUserId?: string) {\n return await this.game.getWeaponDetail(weapon_id, weapon_eid, otherUserId)\n }\n\n async getShortNoteInfo() {\n return await this.game.getShortNoteInfo()\n }\n //#endregion\n //#region Home 模块便捷方法\n async getPostList(forumId: number = 48, pageIndex: number = 1, pageSize: number = 20, searchType: number = 1, timeType: number = 0) {\n return await this.home.getPostList(forumId, pageIndex, pageSize, searchType, timeType)\n }\n\n async getPostDetail(postId: string | number) {\n return await this.home.getPostDetail(postId)\n }\n\n async getPostByTopic(\n topicId: number = 177,\n pageIndex: number = 1,\n pageSize: number = 20,\n searchType: number = 1,\n timeType: number = 0\n ) {\n return await this.home.getPostByTopic(topicId, pageIndex, pageSize, searchType, timeType)\n }\n\n async getTaskProcess() {\n return await this.home.getTaskProcess()\n }\n\n async haveSignIn() {\n return await this.home.haveSignIn()\n }\n\n async signCalendar() {\n return await this.home.signCalendar()\n }\n\n async gameSign(dayAwardId: number, period: number) {\n return await this.home.gameSignIn(dayAwardId, period)\n }\n\n async bbsSign() {\n return await this.home.bbsSign()\n }\n\n async getRoleList() {\n return await this.profile.roleManager()\n }\n\n async adminAdjustScore(postId: number, gameForumId: number, weight: string) {\n return await this.home.adminAdjustScore(postId, gameForumId, weight)\n }\n\n async adminDelete(post: { postId: number; gameId?: number; gameForumId: number }, content: string, reasonCode: number) {\n return await this.home.adminDelete(post, content, reasonCode)\n }\n\n async adminMovePost(\n post: { postId: number; gameId?: number; gameForumId: number },\n newGameId: number,\n newForumId: number,\n newTopicIdStr: string\n ) {\n return await this.home.adminMovePost(post, newGameId, newForumId, newTopicIdStr)\n }\n\n async adminRefreshTime(post: { postId: number; gameId?: number; gameForumId: number }, refresh: number) {\n return await this.home.adminRefreshTime(post, refresh)\n }\n\n async blockList() {\n return await this.home.blockList()\n }\n\n async blockOther(blockPostId: number, blockUserId: string, type: number) {\n return await this.home.blockOther(blockPostId, blockUserId, type)\n }\n\n async collect(postId: number, toUserId: string, operateType = 1) {\n return await this.home.collect(postId, toUserId, operateType)\n }\n\n async commentDelete(\n comment: { id: number; gameId: number; gameForumId: number },\n entityType: number,\n content: string,\n reasonCode: number\n ) {\n return await this.home.commentDelete(comment, entityType, content, reasonCode)\n }\n\n async createComment(post: { userId: string; postId: string; gameForumId: number }, content: string) {\n return await this.home.createComment(post, content)\n }\n\n async createReply(post: { userId: string; postId: string; postCommentId: string; gameForumId: number }, content: string) {\n return await this.home.createReply(post, content)\n }\n\n async createReplyList(\n post: { userId: string; postId: string; postCommentId: string; postCommentReplyId: string; gameForumId: number },\n content: string\n ) {\n return await this.home.createReplyList(post, content)\n }\n\n async deletePost(deleteType: number, id: number) {\n return await this.home.deletePost(deleteType, id)\n }\n\n async followUser(followUserId: string, unfollow?: boolean) {\n return await this.home.followUser(followUserId, unfollow)\n }\n\n async getFollowState(followUserId: string) {\n return await this.home.getFollowState(followUserId)\n }\n\n async getDoujin(forumId: number) {\n return await this.home.getDoujin(forumId)\n }\n\n async getExchange(forumId: number) {\n return await this.home.getExchange(forumId)\n }\n\n async getGameBanner(gameId = DNA_GAME_ID) {\n return await this.home.getGameBanner(gameId)\n }\n\n async getPostCommentList(postId: number, pageIndex = 1, pageSize = 20, isOnlyPublisher = 0) {\n return await this.home.getPostCommentList(postId, pageIndex, pageSize, isOnlyPublisher)\n }\n\n async getRankList(forumId: number) {\n return await this.home.getRankList(forumId)\n }\n\n async getRecommendPosts(gameId = DNA_GAME_ID, pageIndex = 1, pageSize = 20) {\n return await this.home.getRecommendPosts(gameId, pageIndex, pageSize)\n }\n\n async getReplyList(postId: number, postCommentId: number, pageIndex = 1, pageSize = 20) {\n return await this.home.getReplyList(postId, postCommentId, pageIndex, pageSize)\n }\n\n async getStatistics(gameId = DNA_GAME_ID) {\n return await this.home.getStatistics(gameId)\n }\n\n async getTips() {\n return await this.home.getTips()\n }\n\n async getWalkthrough(forumId: number) {\n return await this.home.getWalkthrough(forumId)\n }\n\n async hotList(type = 1, gameId = DNA_GAME_ID) {\n return await this.home.hotList(type, gameId)\n }\n\n async isRedPoint() {\n return await this.home.isRedPoint()\n }\n\n async likePost(post: { gameForumId: string; postId: string; postType: string; userId: string }) {\n return await this.home.like(post)\n }\n\n async lockPost(post: { postId: number; gameId?: number; gameForumId: number }, operateType: number) {\n return await this.home.lockPost(post, operateType)\n }\n\n async postDownOrUp(post: { postId: number; gameId?: number; gameForumId: number }, operateType: number) {\n return await this.home.postDownOrUp(post, operateType)\n }\n\n async postElite(post: { postId: number; gameId?: number; gameForumId: number }, operateType: number) {\n return await this.home.postElite(post, operateType)\n }\n\n async postHide(post: { postId: number; gameId?: number; gameForumId: number }, operateType: number) {\n return await this.home.postHide(post, operateType)\n }\n\n async reRank(post: { postId: number; gameId?: number; gameForumId: number }, weight: number) {\n return await this.home.reRank(post, weight)\n }\n\n async receiveLog(periodId: number, pageIndex: number, pageSize: number) {\n return await this.home.receiveLog(periodId, pageIndex, pageSize)\n }\n\n async recommendList(recIndex: number, newIndex: number, size: number, history: string, gameId = DNA_GAME_ID) {\n return await this.home.recommendList(recIndex, newIndex, size, history, gameId)\n }\n\n async report(\n { commentId = 0, postId = 0, replyId = 0 }: { commentId?: number; postId?: number; replyId?: number },\n reportReason = 1,\n reportType = 1\n ) {\n return await this.home.report({ commentId, postId, replyId }, reportReason, reportType)\n }\n\n async searchPost(keyword: string, pageIndex: number, pageSize: number, gameId = DNA_GAME_ID, searchType = 1) {\n return await this.home.searchPost(keyword, pageIndex, pageSize, gameId, searchType)\n }\n\n async searchTopic(keyword: string, pageIndex: number, pageSize = 20, gameId = DNA_GAME_ID) {\n return await this.home.searchTopic(keyword, pageIndex, pageSize, gameId)\n }\n\n async searchUser(keyword: string, pageIndex: number, pageSize: number) {\n return await this.home.searchUser(keyword, pageIndex, pageSize)\n }\n\n async shareTask() {\n return await this.home.shareTask()\n }\n\n async strongRecommend(post: { postId: number; gameId?: number; gameForumId: number }, operateType = 1) {\n return await this.home.strongRecommend(post, operateType)\n }\n\n async viewCommunity() {\n return await this.home.viewCommunity()\n }\n\n async viewCount(postId: number, gameId = DNA_GAME_ID) {\n return await this.home.viewCount(postId, gameId)\n }\n //#endregion\n //#region User 模块便捷方法\n async loginLog() {\n return await this.user.loginLog()\n }\n\n async login(mobile: string, code: string) {\n return await this.user.login(mobile, code)\n }\n\n async getSmsCode(mobile: string, vJson: string) {\n return await this.user.sendSms(mobile, vJson, 1)\n }\n\n async getMine(userId = \"\", searchType = 1, type = 0) {\n return await this.profile.mine(userId, searchType, type)\n }\n\n async getOtherMine(userId = \"709542994134436647\", searchType = 1, type = 2) {\n return await this.profile.mine(userId, searchType, type)\n }\n\n async canEditNickName() {\n return await this.user.canEditNickName()\n }\n\n async cleanToken() {\n return await this.user.cleanToken()\n }\n\n async editGender(gender: number) {\n return await this.user.editGender(gender)\n }\n\n async editNickName(userName: string) {\n return await this.user.editNickName(userName)\n }\n\n async getCommonConfig() {\n return await this.user.getCommonConfig()\n }\n\n async getConfig() {\n return await this.user.getConfig()\n }\n\n async getConfigSwitch() {\n return await this.user.getConfigSwitch()\n }\n\n async getModeratorPermission() {\n return await this.user.getModeratorPermission()\n }\n\n async getOpenScreen() {\n return await this.user.getOpenScreen()\n }\n\n async getPublicKey() {\n return await this.user.getPublicKey()\n }\n\n async getUserGame() {\n return await this.user.getUserGame()\n }\n\n async getWikiData() {\n return await this.user.getWikiData()\n }\n\n async haveOfficialRole() {\n return await this.user.haveOfficialRole()\n }\n\n async oneTapLoginRestriction() {\n return await this.user.oneTapLoginRestriction()\n }\n\n async recommendConfig() {\n return await this.user.recommendConfig()\n }\n\n async refreshToken(refreshToken: string) {\n return await this.user.refreshToken(refreshToken)\n }\n\n async register(code: string, devCode: string, gameList: string, mobile: string, password: string) {\n return await this.user.register(code, devCode, gameList, mobile, password)\n }\n\n async saveUserInfo(gender: number | null, headCode: string, headUrl: string, userName: string) {\n return await this.user.saveUserInfo(gender, headCode, headUrl, userName)\n }\n\n async signature(newSignature: string) {\n return await this.user.signature(newSignature)\n }\n\n async updateHeadCode(headCode: string) {\n return await this.user.updateHeadCode(headCode)\n }\n\n async updateHeadUrl(headUrl: string) {\n return await this.user.updateHeadUrl(headUrl)\n }\n\n async updateProfileBg(bgUrl: string) {\n return await this.user.updateProfileBg(bgUrl)\n }\n\n async uploadHead(file: File) {\n return await this.user.uploadHead(file)\n }\n\n async uploadProfileBg(file: File) {\n return await this.user.uploadProfileBg(file)\n }\n\n async getEmoji() {\n return await this.user.getEmoji()\n }\n\n async getGameConfig() {\n return await this.user.getGameConfig()\n }\n\n async getGameHeadCode() {\n return await this.user.getGameHeadCode()\n }\n\n //#endregion\n //#region H5 模块便捷方法\n async getMapCategorizeList() {\n return await this.h5.getMapCategorizeList()\n }\n\n async getMapDetail(id: number) {\n return await this.h5.getMapDetail(id)\n }\n\n async getMapSiteDetail(id: number) {\n return await this.h5.getMapSiteDetail(id)\n }\n\n async getEmojiList() {\n return await this.h5.getEmojiList()\n }\n\n async getMapMatterCategorizeOptions() {\n return await this.h5.getMapMatterCategorizeOptions()\n }\n //#endregion\n //#region Profile 模块便捷方法\n async blackUser(toUserId: string, type: number) {\n return await this.profile.blackUser(toUserId, type)\n }\n\n async cleanFansNew(type: number, userFollowId: string) {\n return await this.profile.cleanFansNew(type, userFollowId)\n }\n\n async defaultRole(otherUserId?: string, type = 1) {\n return await this.profile.defaultRole(otherUserId, type)\n }\n\n async deleteRole(roleBoundId: string) {\n return await this.profile.deleteRole(roleBoundId)\n }\n\n async draftDelete(draftId: string) {\n return await this.profile.draftDelete(draftId)\n }\n\n async fans(otherUserId: string, pageNo: number, pageSize: number, type: number) {\n return await this.profile.fans(otherUserId, pageNo, pageSize, type)\n }\n\n async fastBind() {\n return await this.profile.fastBind()\n }\n\n async follow(otherUserId: string, pageNo: number, pageSize: number, type: number) {\n return await this.profile.follow(otherUserId, pageNo, pageSize, type)\n }\n\n async getApplyStatus() {\n return await this.profile.getApplyStatus()\n }\n\n async getDraftList(pageIndex: number, pageSize: number) {\n return await this.profile.getDraftList(pageIndex, pageSize)\n }\n\n async getMineComment(otherUserId: string, pageIndex: number, pageSize: number, type: number) {\n return await this.profile.getMineComment(otherUserId, pageIndex, pageSize, type)\n }\n\n async getMinePost(otherUserId: string, pageIndex: number, pageSize: number, searchType: number, type: number, postType?: number) {\n return await this.profile.getMinePost(otherUserId, pageIndex, pageSize, searchType, type, postType)\n }\n\n async getProfileNotifySwitch() {\n return await this.profile.getNotifySwitch()\n }\n\n async historyView(pageIndex: number, pageSize: number) {\n return await this.profile.historyView(pageIndex, pageSize)\n }\n\n async likeProfilePost(data: {\n forumId: number\n gameId: number\n likeType: number\n operateType: number\n postCommentId: number\n postCommentReplyId: number\n postId: number\n postType: number\n toUserId: string\n }) {\n return await this.profile.like(data)\n }\n\n async manualBound(roleId: string, type: number, code: string) {\n return await this.profile.manualBound(roleId, type, code)\n }\n\n async mine(otherUserId: string, searchType: number, type: number, postType?: number) {\n return await this.profile.mine(otherUserId, searchType, type, postType)\n }\n\n async mineV2(otherUserId: string) {\n return await this.profile.mineV2(otherUserId)\n }\n\n async moderatorByGame(gameId: number) {\n return await this.profile.moderatorByGame(gameId)\n }\n\n async muteCancel(toUserId: string) {\n return await this.profile.muteCancel(toUserId)\n }\n\n async muteUser(toUserId: string, gameIdStr: string, type: number, reason: number, content: string) {\n return await this.profile.muteUser(toUserId, gameIdStr, type, reason, content)\n }\n\n async resetDefault(roleBoundId: string) {\n return await this.profile.resetDefault(roleBoundId)\n }\n\n //#endregion\n //#region Setting 模块便捷方法\n async addAddress(receiverName: string, receiverMobile: string, receiverAddress: string) {\n return await this.setting.addAddress(receiverName, receiverMobile, receiverAddress)\n }\n\n async cancelCode(code: string) {\n return await this.setting.cancelCode(code)\n }\n\n async cancel(cancelType: number, operateType: number, position: string, cancelReason: number | null, reasonDetail: string) {\n return await this.setting.cancel(cancelType, operateType, position, cancelReason, reasonDetail)\n }\n\n async deleteAddress(addressId: number) {\n return await this.setting.deleteAddress(addressId)\n }\n\n async editAddress(addressId: number, receiverName: string, receiverMobile: string, receiverAddress: string) {\n return await this.setting.editAddress(addressId, receiverName, receiverMobile, receiverAddress)\n }\n\n async feedback(listPic: string, proDesc: string, mobile: string, isLogin: number) {\n return await this.setting.feedback(listPic, proDesc, mobile, isLogin)\n }\n\n async getCancelStatus() {\n return await this.setting.getCancelStatus()\n }\n\n async getPrivateSet() {\n return await this.setting.getPrivateSet()\n }\n\n async getUserAddress(userId: number, type: number) {\n return await this.setting.getUserAddress(userId, type)\n }\n\n async getUserBlackList(pageIndex: number, pageSize: number) {\n return await this.setting.getUserBlackList(pageIndex, pageSize)\n }\n\n async msgListDetail(pageNo: number, pageSize: number, type: number) {\n return await this.setting.msgListDetail(pageNo, pageSize, type)\n }\n\n async postListDetail(pageNo: number, pageSize: number, type: number) {\n return await this.setting.postListDetail(pageNo, pageSize, type)\n }\n\n async privateSet(operateType: number, option: number) {\n return await this.setting.privateSet(operateType, option)\n }\n\n async sendSms(mobile: string, timeStamp: string, type: number) {\n return await this.setting.sendSms(mobile, timeStamp, type)\n }\n\n async setDefaultAddress(addressId: number) {\n return await this.setting.setDefaultAddress(addressId)\n }\n\n async setNotifySwitch(operateType: number, switchType: number) {\n return await this.setting.setNotifySwitch(operateType, switchType)\n }\n\n async uploadFeedBack(file: File) {\n return await this.setting.uploadFeedBack(file)\n }\n\n //#endregion\n //#region Trend 模块便捷方法\n async draftSave(\n content: string,\n draftId: string,\n h5Content: string,\n postTitle: string,\n postType: number,\n gameId: number,\n videoReUpload: number\n ) {\n return await this.trend.draftSave(content, draftId, h5Content, postTitle, postType, gameId, videoReUpload)\n }\n\n async getConfigTopicByGameId(name: string, showType: number) {\n return await this.trend.getConfigTopicByGameId(name, showType)\n }\n\n async getPostPublishPage() {\n return await this.trend.getPostPublishPage()\n }\n\n async getRecommend(history: string, pageSize: number) {\n return await this.trend.getRecommend(history, pageSize)\n }\n\n async getVodToken(fileName: string, title: string) {\n return await this.trend.getVodToken(fileName, title)\n }\n\n async trendList(pageIndex: number, pageSize: number, userId: string) {\n return await this.trend.list(pageIndex, pageSize, userId)\n }\n\n async parseLink(link: string) {\n return await this.trend.parseLink(link)\n }\n\n async posAdminEdit(\n content: string,\n gameForumId: number,\n h5Content: string,\n postId: string,\n postTitle: string,\n topics: string,\n postType: number,\n gameId: number,\n videoReUpload: number\n ) {\n return await this.trend.posAdminEdit(content, gameForumId, h5Content, postId, postTitle, topics, postType, gameId, videoReUpload)\n }\n\n async postEdit(\n content: string,\n gameForumId: number,\n h5Content: string,\n postId: string,\n postTitle: string,\n topics: string,\n postType: number,\n videoReUpload: number\n ) {\n return await this.trend.postEdit(content, gameForumId, h5Content, postId, postTitle, topics, postType, videoReUpload)\n }\n\n async postPublish(\n content: string,\n draftId: string,\n gameForumId: number,\n gameId: number,\n h5Content: string,\n postTitle: string,\n postType: number,\n topics: string\n ) {\n return await this.trend.postPublish(content, draftId, gameForumId, gameId, h5Content, postTitle, postType, topics)\n }\n\n async safeCheck(url: string) {\n return await this.trend.safeCheck(url)\n }\n\n async uploadImage(file: File) {\n return await this.trend.uploadImage(file)\n }\n\n async videoPostPublish(\n content: string,\n draftId: string,\n gameForumId: number,\n gameId: number,\n h5Content: string,\n postTitle: string,\n postType: number,\n topics: string\n ) {\n return await this.trend.videoPostPublish(content, draftId, gameForumId, gameId, h5Content, postTitle, postType, topics)\n }\n\n //#endregion\n //#region UserGrowing 模块便捷方法\n async apply(\n type: number,\n id: number | null,\n concatWay: string,\n otherPlatform: string,\n otherPlatformUrl: string,\n otherPlatformFans: string,\n materialUrl: string,\n gameId: number | null\n ) {\n return await this.userGrowing.apply(type, id, concatWay, otherPlatform, otherPlatformUrl, otherPlatformFans, materialUrl, gameId)\n }\n\n async awardList(drawId: number) {\n return await this.userGrowing.awardList(drawId)\n }\n\n async awardWin(drawId: number, fullName: string, mobile: string, address: string) {\n return await this.userGrowing.awardWin(drawId, fullName, mobile, address)\n }\n\n async buyGold(drawId: number, count: number) {\n return await this.userGrowing.buyGold(drawId, count)\n }\n\n async buyProduct(address: string, fullName: string, mobile: string, productId: number) {\n return await this.userGrowing.buyProduct(address, fullName, mobile, productId)\n }\n\n async drawDetail(drawId: number) {\n return await this.userGrowing.drawDetail(drawId)\n }\n\n async getAliProductConfig() {\n return await this.userGrowing.getAliProductConfig()\n }\n\n async getAliProductList(gameId: number | null, pageIndex: number, pageSize: number) {\n return await this.userGrowing.getAliProductList(gameId, pageIndex, pageSize)\n }\n\n async getApplyPage() {\n return await this.userGrowing.getApplyPage()\n }\n\n async getExpLogsList(gameId: number, pageIndex: number, pageSize: number) {\n return await this.userGrowing.getExpLogsList(gameId, pageIndex, pageSize)\n }\n\n async getGameCreator() {\n return await this.userGrowing.getGameCreator()\n }\n\n async getGoldDetailList(pageIndex: number, pageSize: number, type: number, storeType: number) {\n return await this.userGrowing.getGoldDetailList(pageIndex, pageSize, type, storeType)\n }\n\n async getProductList(gameId: number | null, pageIndex: number, pageSize: number, storeType: number) {\n return await this.userGrowing.getProductList(gameId, pageIndex, pageSize, storeType)\n }\n\n async getTotalGold(type?: number) {\n return await this.userGrowing.getTotalGold(type)\n }\n\n async getUserGameLevel(gameId: number | null, ifProcess: number, otherUserId: number | null) {\n return await this.userGrowing.getUserGameLevel(gameId, ifProcess, otherUserId)\n }\n\n async getUserGameTaskProcess(gameId: number, userId: number) {\n return await this.userGrowing.getUserGameTaskProcess(gameId, userId)\n }\n\n async list(pageIndex: number, pageSize: number, queryType: number | null, gameId: number | null) {\n return await this.userGrowing.list(pageIndex, pageSize, queryType, gameId)\n }\n\n async page() {\n return await this.userGrowing.page()\n }\n\n async productDetail(productId: number) {\n return await this.userGrowing.productDetail(productId)\n }\n\n //#endregion\n}\n"
|
|
18
18
|
],
|
|
19
|
-
"mappings": "AAAO,IAAK,GAAL,CAAK,IAAL,CAC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B,EAAQ,CAAM,OAGjE,KAAI,CAAC,EAAmB,EAAkB,EAA0B,EAAuB,CAC7F,OAAO,MAAM,KAAK,YAAY,KAAK,EAAW,EAAU,EAAW,CAAM,OAGvE,KAAI,EAAG,CACT,OAAO,MAAM,KAAK,YAAY,KAAK,OAGjC,cAAa,CAAC,EAAmB,CACnC,OAAO,MAAM,KAAK,YAAY,cAAc,CAAS,EAI7D",
|
|
20
20
|
"debugId": "A949EFB62A49C38064756E2164756E21",
|
|
21
21
|
"names": []
|
|
22
22
|
}
|
package/dist/modules/game.d.ts
CHANGED
|
@@ -4,9 +4,9 @@ export declare class GameAPI extends DNASubModule {
|
|
|
4
4
|
constructor(base: DNABaseAPI);
|
|
5
5
|
defaultRoleForTool(type?: number, otherUserId?: string): Promise<import("..").TimeBasicResponse<DNARoleEntity>>;
|
|
6
6
|
getMhSwitchStatus(): Promise<import("..").TimeBasicResponse<DNAPushStringBean>>;
|
|
7
|
-
getRoleDetail(char_id: string, char_eid: string, otherUserId?: string): Promise<import("..").TimeBasicResponse<DNACharDetailEntity>>;
|
|
7
|
+
getRoleDetail(char_id: number | string, char_eid: string, otherUserId?: string): Promise<import("..").TimeBasicResponse<DNACharDetailEntity>>;
|
|
8
8
|
getShortNoteInfo(): Promise<import("..").TimeBasicResponse<DNAShortNoteEntity>>;
|
|
9
|
-
getWeaponDetail(weapon_id: string, weapon_eid: string, otherUserId?: string): Promise<import("..").TimeBasicResponse<DNAWeaponDetailEntity>>;
|
|
9
|
+
getWeaponDetail(weapon_id: number | string, weapon_eid: string, otherUserId?: string): Promise<import("..").TimeBasicResponse<DNAWeaponDetailEntity>>;
|
|
10
10
|
updateMhSwitchStatus(config: string): Promise<import("..").TimeBasicResponse<any>>;
|
|
11
11
|
soulTask(): Promise<import("..").TimeBasicResponse<DNASoulTaskBean>>;
|
|
12
12
|
}
|
package/dist/modules/home.d.ts
CHANGED
|
@@ -53,7 +53,7 @@ export declare class HomeAPI extends DNASubModule {
|
|
|
53
53
|
getGameBanner(gameId?: number): Promise<import("..").TimeBasicResponse<DNAGameBannerBean>>;
|
|
54
54
|
getPostByTopic(topicId?: number, pageIndex?: number, pageSize?: number, searchType?: number, timeType?: number): Promise<import("..").TimeBasicResponse<DNATopicListResponse>>;
|
|
55
55
|
getPostCommentList(postId: number, pageIndex?: number, pageSize?: number, isOnlyPublisher?: number): Promise<import("..").TimeBasicResponse<DNACommentListResponse>>;
|
|
56
|
-
getPostDetail(postId: string): Promise<import("..").TimeBasicResponse<DNAPostDetailResponse>>;
|
|
56
|
+
getPostDetail(postId: string | number): Promise<import("..").TimeBasicResponse<DNAPostDetailResponse>>;
|
|
57
57
|
getPostList(forumId?: number, pageIndex?: number, pageSize?: number, searchType?: number, timeType?: number): Promise<import("..").TimeBasicResponse<DNADiscussAreaResponse>>;
|
|
58
58
|
getRankList(forumId: number): Promise<import("..").TimeBasicResponse<DNAFraternityResponse>>;
|
|
59
59
|
getRecommendPosts(gameId?: number, pageIndex?: number, pageSize?: number): Promise<import("..").TimeBasicResponse<DNAHomeOffWaterResponse>>;
|
package/dist/type-generated.d.ts
CHANGED
|
@@ -584,7 +584,7 @@ export interface DNABlockListBean {
|
|
|
584
584
|
}
|
|
585
585
|
export interface DNACharDetailBean {
|
|
586
586
|
attribute: DNAAttributeBean;
|
|
587
|
-
charId:
|
|
587
|
+
charId: number;
|
|
588
588
|
charName: string;
|
|
589
589
|
currentVolume: string;
|
|
590
590
|
elementIcon: string;
|
|
@@ -1585,7 +1585,7 @@ export interface DNAWeaponBean {
|
|
|
1585
1585
|
skillLevel: number;
|
|
1586
1586
|
unLocked: boolean;
|
|
1587
1587
|
weaponEid: string;
|
|
1588
|
-
weaponId:
|
|
1588
|
+
weaponId: number;
|
|
1589
1589
|
}
|
|
1590
1590
|
export interface DNARoleParamBean {
|
|
1591
1591
|
paramKey: string;
|