robot客户端抓包接口和登录包校验和强制指定,开启dev版本客户端的gm菜单

This commit is contained in:
flswld committed 2023-06-17 02:01:26 +08:00
1 parent 2a4f75d188
commit a894237d41
8 files changed
+146 -48

No files matched your search

+3 -1
View File
@@ -71,7 +71,9 @@ func (c *Controller) queryRegionList(context *gin.Context) {
return
}
logger.Debug("QueryRegionListHttpRsp: %+v", queryRegionListHttpRsp)
queryRegionListHttpRsp.RegionList[0].DispatchUrl = config.GetConfig().Hk4e.DispatchUrl
for _, regionSimpleInfo := range queryRegionListHttpRsp.RegionList {
regionSimpleInfo.DispatchUrl = config.GetConfig().Hk4e.DispatchUrl
}
regionListData, err := pb.Marshal(queryRegionListHttpRsp)
if err != nil {
_, _ = context.Writer.WriteString("500")