89 lines
2.9 KiB
Markdown
89 lines
2.9 KiB
Markdown
# 配置
|
|
|
|
```xml
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
<config>
|
|
<paths>
|
|
<UpdateUrl>http://res-xnyh.38ejed.com/pxgj_test/</UpdateUrl>
|
|
<OrigUpdateUrl>http://res-xnyh.38ejed.com/pxgj_test/</OrigUpdateUrl>
|
|
<ServerList list_gid="10000" list_pid="888">
|
|
<key>c881d28b2003a54594a5ffdf0f1d21e1</key>
|
|
<getzonelist>/test/getzonelist.php</getzonelist>
|
|
<getzonestatus>/test/getzonestatus.php</getzonestatus>
|
|
<roleinfo>/test/userinfo.php</roleinfo>
|
|
<hosts>
|
|
<item host="http://139.159.150.217:18080" newuser="1">
|
|
<item host="http://139.159.150.217:18080">
|
|
<item host="http://139.159.150.217:18080">
|
|
</hosts>
|
|
</ServerList>
|
|
<CursomLoginServer>/verifyToken_intranet.php</CursomLoginServer>
|
|
<report>
|
|
<url>http://api1.37.xnyh.jggame.net:18080/android/report.php</url>
|
|
<upload>http://upload.xnyh.jggame.net:18080/image.php</upload>
|
|
<key>F@9hLZMlSDCsGb6/EuimBY5R3WH4XvQx</key>
|
|
</report>
|
|
<BugRpt host="report.37.xnyh.jggame.net" port="50018" test="0" />
|
|
<LoginBgVideo>true</LoginBgVideo>
|
|
</paths>
|
|
<debug>true</debug>
|
|
<LogServer>true</LogServer>
|
|
<GMCmdLevel>3</GMCmdLevel>
|
|
<EnableProfiler>true</EnableProfiler>
|
|
<!--<xunit default="ch">ch</xunit>-->
|
|
<support_lang>
|
|
<zh_cn default="1"/>
|
|
<zh_tw voice="zh_cn"/>
|
|
<en_us />
|
|
<vi_vn />
|
|
<ko_kr />
|
|
</support_lang>
|
|
<IPLocation>true</IPLocation>
|
|
</config>
|
|
|
|
```
|
|
|
|
```python
|
|
mSrvListAddress = chooseHost = "http://139.159.150.217:18080"
|
|
mServerListUrl = getzonelist = "/test/getzonelist.php"
|
|
gid = list_gid = 10000
|
|
pid = list_pid = 888
|
|
```
|
|
|
|
|
|
|
|
# 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 |