note/src/m/me/bingfeng/Android SDK.md
2025-02-08 17:55:05 +08:00

113 lines
3.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 配置
```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;]
接入参数:
gid1019175
pid1
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
- 权限管理?按需申请权限
- 充值订单?缺少商品名
- 调查问卷?缺少奖励