diff --git a/local.ini b/local.ini index 81bbf6bb9147526a757b5e8c92a98a73f3e47865..d46aed480fd91ce5e7aab47a378c97006d98d95c 100644 --- a/local.ini +++ b/local.ini @@ -59,12 +59,12 @@ TX_OVERSEA_APP_ID=40000066 TX_OVERSEA_KEY=3ab68ea5bddc8774d90b8c764ae71188914bd5fd06f30b28790c51e44ca7885c [EMAS] REGION_ID=cn-hangzhou -ACCESS_KEY_ID=LTAI4FhNPzxdzD4w6bHirL9Z -ACCESS_KEY_SECRET=OQvUJpXDrjGi3g1F2aHiAIFWIvLdbP +ACCESS_KEY_ID=LTAIdQZv5H1kNZp5 +ACCESS_KEY_SECRET=UnwY0ClDkqBMLwPx3OJJiLYyk9xYLO ANDROID_APP_KEY=30250713 ANDROID_APP_SECRET=cae7b9a9d3e54577d2c3b60bf6d23047 -IOS_APP_KEY=30240346 -IOS_APP_SECRET=57f33ab9ca6a957a8c659f2b0b6d1205 +IOS_APP_KEY=30790728 +IOS_APP_SECRET=4fd69ca084c67d4b5a8d15452f0af26a APNS=DEV [AGORA] APP_ID=fc3e087f701b4f788099e1924c3cc7b0 diff --git a/route/group_power_r/inner.go b/route/group_power_r/inner.go index 707fdda9b8b88bf72d60ef326cbafdae2e9e56db..dc21e48ec6fc40497c728401072570db229c5e2c 100644 --- a/route/group_power_r/inner.go +++ b/route/group_power_r/inner.go @@ -4,7 +4,6 @@ import ( "git.hilo.cn/hilo-common/domain" "git.hilo.cn/hilo-common/mycontext" "git.hilo.cn/hilo-common/resource/mysql" - "git.hilo.cn/hilo-common/sdk/emas" "github.com/gin-gonic/gin" "hilo-group/_const/enum/groupPower_e" "hilo-group/_const/enum/msg_e" @@ -74,7 +73,7 @@ func MGetGroupPowers(c *gin.Context) (*mycontext.MyContext, error) { func Test(c *gin.Context) (*mycontext.MyContext, error) { var model = domain.CreateModelNil() - if err := msg_m.NewUserRecord(model, 4522, msg_e.GroupPowerUserLeave, "frozen", 4522, "", "", "", "", "").Persistent(); err != nil { + if err := msg_m.NewUserRecord(model, 4522, msg_e.GroupPowerUserJoin, "frozen", 4522, "", "", "", "", "").Persistent(); err != nil { return nil, err } mgrUser, _ := user_m.GetUser(model, 4522) @@ -82,9 +81,9 @@ func Test(c *gin.Context) (*mycontext.MyContext, error) { if err != nil { return nil, err } - err = emas.SendIosMsgAll("全部消息测试") - if err != nil { - return nil, err - } + //err := emas.SendIosMsgAll("全部消息测试") + //if err != nil { + // return nil, err + //} return nil, nil }