|
@@ -4,6 +4,7 @@ import (
|
4
|
4
|
"XT_Admin_Api/controllers"
|
5
|
5
|
"XT_Admin_Api/enums"
|
6
|
6
|
"XT_Admin_Api/models/admin_models"
|
|
7
|
+ "fmt"
|
7
|
8
|
)
|
8
|
9
|
|
9
|
10
|
type AdminBaseAPIController struct {
|
|
@@ -49,7 +50,7 @@ type AdminBaseAPIAuthController struct {
|
49
|
50
|
|
50
|
51
|
func (this *AdminBaseAPIAuthController) Prepare() {
|
51
|
52
|
this.AdminBaseAPIController.Prepare()
|
52
|
|
-
|
|
53
|
+ fmt.Println("aaa")
|
53
|
54
|
adminInfo := this.GetAdminInfo()
|
54
|
55
|
if adminInfo == nil {
|
55
|
56
|
this.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeNotLogin)
|