1
This commit is contained in:
@@ -7,6 +7,7 @@ import (
|
||||
"git.rosy.net.cn/jx-callback/business/model/dao"
|
||||
"git.rosy.net.cn/jx-callback/business/model/legacymodel"
|
||||
"git.rosy.net.cn/jx-callback/business/partner/delivery/fn"
|
||||
"git.rosy.net.cn/jx-callback/globals"
|
||||
"git.rosy.net.cn/jx-callback/globals/api"
|
||||
"github.com/astaxie/beego/server/web"
|
||||
"io/ioutil"
|
||||
@@ -88,6 +89,7 @@ func (c *FnController) FnToken() {
|
||||
return
|
||||
}
|
||||
|
||||
globals.SugarLogger.Debugf("data := %s", string(data))
|
||||
var token = &tokenInfo
|
||||
if err = json.Unmarshal(data, &token); err != nil {
|
||||
c.Data["json"] = &fnpsapi.SignatureIsNotOk
|
||||
@@ -95,6 +97,7 @@ func (c *FnController) FnToken() {
|
||||
return
|
||||
}
|
||||
|
||||
globals.SugarLogger.Debugf("data := %s", utils.Format4Output(token, false))
|
||||
db := dao.GetDB()
|
||||
curConfig := &legacymodel.Config{
|
||||
Thirdparty: "fn",
|
||||
|
||||
Reference in New Issue
Block a user