- new dingding api config

This commit is contained in:
gazebo
2019-03-08 11:10:14 +08:00
parent 2589c13ab1
commit 99bb093f3f
3 changed files with 11 additions and 6 deletions

View File

@@ -26,7 +26,7 @@ func init() {
func (a *QRCodeAuther) VerifySecret(dummy, code string) (authBindEx *auth2.AuthBindEx, err error) {
globals.SugarLogger.Debugf("dingding qrcode VerifySecret code:%s", code)
userQRInfo, err := api.DingDingAPI.GetUserInfoByCode(code)
userQRInfo, err := api.DingDingQRCodeAPI.GetUserInfoByCode(code)
if err == nil {
db := dao.GetDB()
var authBind *model.AuthBind