增加一个win下的启动命令
This commit is contained in:
parent
277be56ad4
commit
5344813777
@ -4,7 +4,8 @@
|
|||||||
"description": "",
|
"description": "",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev:api": "DEBUG=colyseus:*,jc:* node --require ts-node/register --inspect src/api.ts"
|
"dev:api": "DEBUG=colyseus:*,jc:* node --require ts-node/register --inspect src/api.ts",
|
||||||
|
"win": "$env:DEBUG='jc:*';node --require ts-node/register --inspect src/api.ts"
|
||||||
},
|
},
|
||||||
"author": "",
|
"author": "",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
|
@ -109,4 +109,5 @@ export default class AccountController extends BaseController {
|
|||||||
return items.map(o => o.toJson())
|
return items.map(o => o.toJson())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
5
src/service/jcfw.ts
Normal file
5
src/service/jcfw.ts
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
const BASE_URL = ''
|
||||||
|
|
||||||
|
export function getGameConfig(session_id: string, account_id: string) {
|
||||||
|
|
||||||
|
}
|
@ -10,7 +10,7 @@ const MAIL_ATTACHMENT_URL = 'https://gamemail.kingsome.cn/webapp/index.php?c=Mai
|
|||||||
* @param {string} mail_ids
|
* @param {string} mail_ids
|
||||||
* @return {Promise<AxiosResponse<any>>}
|
* @return {Promise<AxiosResponse<any>>}
|
||||||
*/
|
*/
|
||||||
export function getAttachment(session_id: string, account_id: string, mail_ids: string) {
|
export function getAttachment(account_id: string, session_id: string, mail_ids: string) {
|
||||||
let data = { session_id, account_id, mail_ids }
|
let data = { session_id, account_id, mail_ids }
|
||||||
let paramStr = generateKeyValStr(data);
|
let paramStr = generateKeyValStr(data);
|
||||||
let url = `${MAIL_ATTACHMENT_URL}&${paramStr}`
|
let url = `${MAIL_ATTACHMENT_URL}&${paramStr}`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user