zwxi 1 year ago
parent
commit
53ca2d0799
2 changed files with 2 additions and 2 deletions
  1. 1 1
      controllers/user_login.go
  2. 1 1
      routers/commentsRouter.go

+ 1 - 1
controllers/user_login.go

@@ -925,7 +925,7 @@ func (this *UserLoginController) AreaCodeList() {
 // @Description icp备案信息
 // @Success 200 Ret=200 获取成功
 // @router /base_info [get]
-func (this *UserLoginController) ICPLicense() {
+func (this *UserLoginController) BaseInfo() {
 	br := new(models.BaseResponse).Init()
 	defer func() {
 		if br.ErrMsg == "" {

+ 1 - 1
routers/commentsRouter.go

@@ -8388,7 +8388,7 @@ func init() {
 
     beego.GlobalControllerRouter["eta/eta_api/controllers:UserLoginController"] = append(beego.GlobalControllerRouter["eta/eta_api/controllers:UserLoginController"],
         beego.ControllerComments{
-            Method: "ICPLicense",
+            Method: "BaseInfo",
             Router: `/base_info`,
             AllowHTTPMethods: []string{"get"},
             MethodParams: param.Make(),