github.com/LagrangeDev/LagrangeGo@v0.0.0-20240512064304-ad4a85e10cb4/client/auth/app.go (about)

     1  package auth
     2  
     3  var AppList = map[string]*AppInfo{
     4  	"linux": {
     5  		OS:       "Linux",
     6  		Kernel:   "Linux",
     7  		VendorOS: "linux",
     8  
     9  		CurrentVersion:   "3.1.2-13107",
    10  		BuildVersion:     13107,
    11  		MiscBitmap:       32764,
    12  		PTVersion:        "2.0.0",
    13  		PTOSVersion:      19,
    14  		PackageName:      "com.tencent.qq",
    15  		WTLoginSDK:       "nt.wtlogin.0.0.1",
    16  		PackageSign:      "V1_LNX_NQ_3.1.2-13107_RDM_B",
    17  		AppID:            1600001615,
    18  		SubAppID:         537146866,
    19  		AppIDQrcode:      13697054,
    20  		AppClientVersion: 13172,
    21  
    22  		MainSigmap:  169742560,
    23  		SubSigmap:   0,
    24  		NTLoginType: 1,
    25  	},
    26  	"macos": {
    27  		OS:       "Mac",
    28  		Kernel:   "Darwin",
    29  		VendorOS: "mac",
    30  
    31  		CurrentVersion:   "6.9.20-17153",
    32  		BuildVersion:     17153,
    33  		MiscBitmap:       32764,
    34  		PTVersion:        "2.0.0",
    35  		PTOSVersion:      23,
    36  		PackageName:      "com.tencent.qq",
    37  		WTLoginSDK:       "nt.wtlogin.0.0.1",
    38  		PackageSign:      "V1_MAC_NQ_6.9.20-17153_RDM_B",
    39  		AppID:            1600001602,
    40  		SubAppID:         537162356,
    41  		AppIDQrcode:      537162356,
    42  		AppClientVersion: 13172,
    43  
    44  		MainSigmap:  169742560,
    45  		SubSigmap:   0,
    46  		NTLoginType: 5,
    47  	},
    48  }
    49  
    50  type AppInfo struct {
    51  	OS       string `json:"os"`
    52  	Kernel   string `json:"kernel"`
    53  	VendorOS string `json:"vendor_os"`
    54  
    55  	CurrentVersion   string `json:"current_version"`
    56  	BuildVersion     int    `json:"build_version"`
    57  	MiscBitmap       int    `json:"misc_bitmap"`
    58  	PTVersion        string `json:"pt_version"`
    59  	PTOSVersion      int    `json:"pt_os_version"`
    60  	PackageName      string `json:"package_name"`
    61  	WTLoginSDK       string `json:"wtlogin_sdk"`
    62  	PackageSign      string `json:"package_sign"`
    63  	AppID            int    `json:"app_id"`
    64  	SubAppID         int    `json:"sub_app_id"`
    65  	AppIDQrcode      int    `json:"app_id_qrcode"`
    66  	AppClientVersion int    `json:"app_client_version"`
    67  	MainSigmap       int    `json:"main_sigmap"`
    68  	SubSigmap        int    `json:"sub_sigmap"`
    69  	NTLoginType      int    `json:"nt_login_type"`
    70  }