mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-19 10:23:21 +08:00
🤔 add(sth): 加了一些数据
This commit is contained in:
@@ -5,10 +5,14 @@
|
||||
* @since Alpha v0.2.0
|
||||
*/
|
||||
|
||||
import TGConstant from "../constant/TGConstant";
|
||||
|
||||
export function getRequestHeader (cookie: BTMuli.User.Base.Cookie): Record<string, string> {
|
||||
const header = {
|
||||
"User-Agent": "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36 Edg/112.0.1722.34 Tauri.Genshin/0.1.2",
|
||||
"x-rpc-app_version": "2.0.0",
|
||||
"User-Agent": TGConstant.BBS.USER_AGENT,
|
||||
"content-type": "application/json;charset=UTF-8",
|
||||
"x-requested-with": "com.mihoyo.hyperion",
|
||||
"x-rpc-app_version": TGConstant.BBS.VERSION,
|
||||
"x-rpc-client_type": "5",
|
||||
"x-rpc-device_id": cookie.DEVICEFP,
|
||||
Origin: "https://www.miyoushe.com",
|
||||
|
||||
Reference in New Issue
Block a user