Explorar el Código

增加返回数据

abiao hace 5 años
padre
commit
7391f758ad
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      go/gopath/src/fohow-statement-api/controllers/user.go

+ 1 - 0
go/gopath/src/fohow-statement-api/controllers/user.go

@@ -60,5 +60,6 @@ func (self *UserController) Get() {
 	ret.PermissionList = permissonMenuList
 	ret.FirstPage = firstPage
 	ret.User = user
+	self.Data["json"] = ret
 	self.ServeJSON()
 }