113 lines
3.2 KiB
Markdown
113 lines
3.2 KiB
Markdown
# 配置
|
||
|
||
```xml
|
||
<?xml version="1.0" encoding="UTF-8"?>
|
||
<config>
|
||
<paths>
|
||
<UpdateUrl>http://cdn-pxgj.akbing.com/res1</UpdateUrl>
|
||
<OrigUpdateUrl>http://cdn-pxgj.akbing.com/res1</OrigUpdateUrl>
|
||
<ServerList list_gid="1019175" list_pid="1">
|
||
<key>c881d28b2003a54594a5ffdf0f1d21e1</key>
|
||
<getzonelist>/37/getzonelist.php</getzonelist>
|
||
<getzonestatus>/37/getzonestatus.php</getzonestatus>
|
||
<roleinfo>/37/userinfo.php</roleinfo>
|
||
<hosts>
|
||
<item host="http://api.37.pxgj.jggame.net:18080" newuser="1"/>
|
||
</hosts>
|
||
</ServerList>
|
||
<CursomLoginServer>http://api.37.pxgj.jggame.net:18080/verifyToken_intranet.php</CursomLoginServer>
|
||
<report>
|
||
<url>http://api.37.pxgj.jggame.net:18080/37/report.php</url>
|
||
<upload>http://api.37.pxgj.jggame.net:18080/image.php</upload>
|
||
<key>ltUqbdaRYxToCse4cVZ9MpH;WFBuk,6O</key>
|
||
</report>
|
||
<BugRpt host="report.37.pxgj.jggame.net" port="50018" test="0" />
|
||
<LoginBgVideo>true</LoginBgVideo>
|
||
</paths>
|
||
<NoPlatform>true</NoPlatform>
|
||
<debug>false</debug>
|
||
<LogServer>true</LogServer>
|
||
<GMCmdLevel>3</GMCmdLevel>
|
||
<EnableProfiler>true</EnableProfiler>
|
||
<!--<xunit default="ch">ch</xunit>-->
|
||
<support_lang>
|
||
<zh_cn default="1"/>
|
||
</support_lang>
|
||
<IPLocation>true</IPLocation>
|
||
<XGAME_CHANNEL>37</XGAME_CHANNEL>
|
||
</config>
|
||
|
||
```
|
||
|
||
```python
|
||
mSrvListAddress = chooseHost = "http://139.159.150.217:18080"
|
||
mServerListUrl = getzonelist = "/test/getzonelist.php"
|
||
gid = list_gid = 10000
|
||
pid = list_pid = 888
|
||
```
|
||
|
||
## 37
|
||
|
||
```ini
|
||
账号:pxgj
|
||
密码:eBotr3VgY/v$<s;]
|
||
|
||
接入参数:
|
||
gid:1019175
|
||
pid:1
|
||
gamekey(基础通信密钥):ltUqbdaRYxToCse4cVZ9MpH;WFBuk,6O
|
||
paykey(充值接口密钥):Tqup65i?R208r-WnMG3FtXOZIScBlNUb
|
||
```
|
||
|
||
# SDK
|
||
|
||
## 登陆
|
||
|
||
```python
|
||
#无平台测试
|
||
http = "http://139.159.150.217:18080/verifyToken_intranet.php?pid=888&gid=10000&token=zbs1"
|
||
#有平台验证
|
||
http = "http://139.159.150.217:18080/verifyToken.php?pid=888&gid=10000&token=zbs1"
|
||
```
|
||
|
||
|
||
|
||
## 区服 & 公告
|
||
|
||
```python
|
||
#http://192.168.1.192/srclist/branches/pxgj_trunk/gatzonelist.php?apk_mark=8_1&version_list=270&version_notice=2&compress=1
|
||
|
||
mSrvListAddress = "http://192.168.1.192/"
|
||
mServerListUrl = "srclist/branches/pxgj_trunk/gatzonelist.php"
|
||
gid , pid = 8 , 1
|
||
noticeCacheVersion = 2
|
||
http = "%s%s?apk_mark=%d_%d&version_list=%s&version_notice=%s&compress=1".format(
|
||
mSrvListAddress,mServerListUrl,gid,pid)mSrvListAddress = "http://192.168.1.192"
|
||
mServerListUrl = "/srclist/branches/pxgj_trunk/gatzonelist.php"
|
||
gid , pid = 8 , 1
|
||
serverListCacheVersion = 270
|
||
noticeCacheVersion = 2
|
||
http = "%s%s?apk_mark=%d_%d&version_list=%s&version_notice=%s&compress=1" % (
|
||
mSrvListAddress,mServerListUrl,gid,pid,serverListCacheVersion,noticeCacheVersion)
|
||
print(http)
|
||
json ={"recommend_zone":0,"loginCheckServer":"http:\/\/139.159.150.217:18080\/verifyToken.php","version_notice":"b_","version_list":null,"productText":null,"notice":null,"area":null,"time":"1688784423","filter_status":0,"filter_num":0}
|
||
```
|
||
|
||
https://shouyou.wjx.cn/vm/eO2dHT3.aspx
|
||
|
||
# 问题
|
||
|
||
### 版本1
|
||
|
||
- 包体30m?进服前无热更?
|
||
- 版本白名单:ios_config ???
|
||
- 合规相关
|
||
- 非debug包
|
||
- 接入公告
|
||
- 健康游戏忠告
|
||
|
||
### 版本2
|
||
|
||
- 权限管理?按需申请权限
|
||
- 充值订单?缺少商品名
|
||
- 调查问卷?缺少奖励 |