1
This commit is contained in:
@@ -12,8 +12,6 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"git.rosy.net.cn/jx-callback/globals"
|
||||
|
||||
"git.rosy.net.cn/baseapi/platformapi/mtwmapi"
|
||||
"git.rosy.net.cn/jx-callback/globals/api"
|
||||
"github.com/gazeboxu/mapstructure"
|
||||
@@ -311,13 +309,6 @@ func GenFullUrl(appID float64) (fullUrl string) {
|
||||
retVal := mtwmapi.GetConnTokenResp{}
|
||||
err = mapstructure.Decode(resp, &retVal)
|
||||
fullUrl = MTIMPushUrl + "/" + retVal.AppKey + "/" + retVal.ConnectionToken
|
||||
|
||||
//todo 测试
|
||||
tete := api.MtwmAPI.GetAppID()
|
||||
globals.SugarLogger.Debugf("GenFullUrl appID=%s", tete)
|
||||
//todo
|
||||
|
||||
fmt.Printf("GenFullUrl:%s", fullUrl)
|
||||
return fullUrl
|
||||
}
|
||||
|
||||
@@ -342,13 +333,6 @@ func GenFullUrl2() *UrlInfo {
|
||||
urlInfo.ClientIDSub = r1.AppKey + ":" + r1.ConnectionToken
|
||||
}
|
||||
}
|
||||
|
||||
//todo 测试
|
||||
tete := api.MtwmAPI.GetAppID()
|
||||
globals.SugarLogger.Debugf("GenFullUrl appID=%s", tete)
|
||||
//todo
|
||||
|
||||
fmt.Printf("GenFullUrl:urlMain=%s, urlSub=%s", urlInfo.UrlMain, urlInfo.UrlSub)
|
||||
return urlInfo
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user