note/src/m/me/bingfeng/Android SDK.md

113 lines
3.2 KiB
Markdown
Raw Normal View History

2023-07-08 17:51:00 +08:00
# 配置
```xml
<?xml version="1.0" encoding="UTF-8"?>
<config>
<paths>
2023-08-25 16:16:33 +08:00
<UpdateUrl>http://cdn-pxgj.akbing.com/res1</UpdateUrl>
<OrigUpdateUrl>http://cdn-pxgj.akbing.com/res1</OrigUpdateUrl>
<ServerList list_gid="1019175" list_pid="1">
2023-07-08 17:51:00 +08:00
<key>c881d28b2003a54594a5ffdf0f1d21e1</key>
2023-08-25 16:16:33 +08:00
<getzonelist>/37/getzonelist.php</getzonelist>
<getzonestatus>/37/getzonestatus.php</getzonestatus>
<roleinfo>/37/userinfo.php</roleinfo>
2023-07-08 17:51:00 +08:00
<hosts>
2023-08-25 16:16:33 +08:00
<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>
2023-07-08 17:51:00 +08:00
<report>
2023-08-25 16:16:33 +08:00
<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>
2023-07-08 17:51:00 +08:00
</report>
2023-08-25 16:16:33 +08:00
<BugRpt host="report.37.pxgj.jggame.net" port="50018" test="0" />
2023-07-08 17:51:00 +08:00
<LoginBgVideo>true</LoginBgVideo>
</paths>
2023-08-25 16:16:33 +08:00
<NoPlatform>true</NoPlatform>
<debug>false</debug>
2023-07-08 17:51:00 +08:00
<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>
2023-08-25 16:16:33 +08:00
<XGAME_CHANNEL>37</XGAME_CHANNEL>
2023-07-08 17:51:00 +08:00
</config>
```
```python
mSrvListAddress = chooseHost = "http://139.159.150.217:18080"
mServerListUrl = getzonelist = "/test/getzonelist.php"
gid = list_gid = 10000
pid = list_pid = 888
```
2023-08-04 17:10:41 +08:00
## 37
2023-07-08 17:51:00 +08:00
2023-08-04 17:10:41 +08:00
```ini
账号pxgj
密码eBotr3VgY/v$<s;]
接入参数:
gid1019175
pid1
gamekey基础通信密钥ltUqbdaRYxToCse4cVZ9MpH;WFBuk,6O
paykey充值接口密钥Tqup65i?R208r-WnMG3FtXOZIScBlNUb
```
2023-07-08 17:51:00 +08:00
# 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}
```
2023-08-04 17:10:41 +08:00
https://shouyou.wjx.cn/vm/eO2dHT3.aspx
# 问题
2023-08-25 16:16:33 +08:00
### 版本1
2023-08-04 17:10:41 +08:00
- 包体30m进服前无热更
- 版本白名单ios_config ???
- 合规相关
- 非debug包
- 接入公告
2023-08-25 16:16:33 +08:00
- 健康游戏忠告
### 版本2
- 权限管理?按需申请权限
- 充值订单?缺少商品名
- 调查问卷?缺少奖励