已经接入配置文件,开始准备生成代码

This commit is contained in:
2021-06-04 02:57:56 +08:00
parent 99933e02f4
commit fe085ce889
9 changed files with 96 additions and 20 deletions
+2
View File
@@ -44,6 +44,8 @@ func (that *Context) Display(statu int, data interface{}) {
temp["type"] = tpe
temp["msg"] = data
resp["result"] = temp
//兼容android等需要json转对象的服务
resp["error"] = temp
} else {
resp["result"] = data
}