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