lt 10 months ago
parent
commit
98aff8fe28

+ 2 - 1
RO_Server_Trunk-branch_0.1.39/roserver/gmweb/msg/web_paymsg.go

@@ -160,6 +160,7 @@ type Extras struct {
 	SubPlatform string `json:"subPlatform"`
 	Bima        string `json:"bima"`
 	Bimf        string `json:"bimf"`
+	Bimo        string `json:"bimo"`
 	CpOrderId   string `json:"cpOrderId"`
 }
 
@@ -185,7 +186,7 @@ func WebPayHwQuickNotify(c *gin.Context) {
 		util.ErrorF("支付回调参数解析错误:%v", err)
 	}
 	util.InfoF("支付签名认证:%v   params:%v", extras, params)
-	if extras.Platform == "SDKYOUYI_IOS" || extras.Bima == "SDKYOUYI_IOS" || extras.Bimf == "SDKYOUYI_IOS" {
+	if extras.Platform == "SDKYOUYI_IOS" || extras.Bima == "SDKYOUYI_IOS" || extras.Bimf == "SDKYOUYI_IOS" || extras.Bimo == "SDKYOUYI_IOS" {
 		util.ErrorF("ios 支付签名认证:%v", info)
 		newSign := getMd5Sign("76461634234541630996722774224611", params)
 		if newSign != sign {

+ 2 - 2
RO_Server_Trunk-branch_0.1.39/roserver/test/main.go

@@ -42,8 +42,8 @@ func (this *a1) GetBase() *abase {
 
 func main() {
 
-	testModel.ConvertOldRedis()
-	//testModel.ConvertGuildRedis()
+	//testModel.ConvertOldRedis()
+	testModel.ConvertGuildRedis()
 	return
 
 	//tmpa1 := &a1{}

+ 1 - 1
RO_Server_Trunk-branch_0.1.39/roserver/test/model/combine_service.go

@@ -81,7 +81,7 @@ func ConvertOldRedis() {
 }
 
 func ConvertGuildRedis() {
-	cli := service.NewNetRedisConnector([]string{"127.0.0.1:6379"}, "", 21, 0)
+	cli := service.NewNetRedisConnector([]string{"127.0.0.1:6379"}, "", 11, 0)
 	service.SetRedis(cli)
 	//0.获取角色uid列表
 	uidList := getUidListFromRedis()