Commit ad8360a5 authored by haoyanbin's avatar haoyanbin

Doc

parent 237ebe9b
......@@ -14,7 +14,7 @@ type System struct {
// @Summary 获取验证码
// @Description 获取验证码
// @Tags 登陆
// @Success 200 {object} response.Response{data=string,id=string,msg=string} "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/captcha [get]
func (e System) GenerateCaptchaHandler(c *gin.Context) {
err := e.MakeContext(c).Errors
......
......@@ -27,7 +27,7 @@ type SysApi struct {
// @Param action query string false "类型"
// @Param pageSize query int false "页条数"
// @Param pageIndex query int false "页码"
// @Success 200 {object} response.Response{data=response.Page{list=[]models.SysApi}} "{"code": 200, "data": [...]}"
// @Success 200 {string} string {data=response.Page{list=[]models.SysApi}} "{"code": 200, "data": [...]}"
// @Router /api/v1/sys-api [get]
// @Security Bearer
func (e SysApi) GetPage(c *gin.Context) {
......@@ -60,7 +60,7 @@ func (e SysApi) GetPage(c *gin.Context) {
// @Description 获取接口管理
// @Tags 接口管理
// @Param id path string false "id"
// @Success 200 {object} response.Response{data=models.SysApi} "{"code": 200, "data": [...]}"
// @Success 200 {string} string {data=models.SysApi} "{"code": 200, "data": [...]}"
// @Router /api/v1/sys-api/{id} [get]
// @Security Bearer
func (e SysApi) Get(c *gin.Context) {
......@@ -93,7 +93,7 @@ func (e SysApi) Get(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param data body dto.SysApiUpdateReq true "body"
// @Success 200 {object} response.Response "{"code": 200, "message": "修改成功"}"
// @Success 200 {string} string "{"code": 200, "message": "修改成功"}"
// @Router /api/v1/sys-api/{id} [put]
// @Security Bearer
func (e SysApi) Update(c *gin.Context) {
......@@ -123,7 +123,7 @@ func (e SysApi) Update(c *gin.Context) {
// @Description 删除接口管理
// @Tags 接口管理
// @Param data body dto.SysApiDeleteReq true "body"
// @Success 200 {object} response.Response "{"code": 200, "message": "删除成功"}"
// @Success 200 {string} string "{"code": 200, "message": "删除成功"}"
// @Router /api/v1/sys-api [delete]
// @Security Bearer
func (e SysApi) DeleteSysApi(c *gin.Context) {
......
......@@ -25,7 +25,7 @@ type SysConfig struct {
// @Param isFrontend query int false "是否前端"
// @Param pageSize query int false "页条数"
// @Param pageIndex query int false "页码"
// @Success 200 {object} response.Response{data=response.Page{list=[]models.SysApi}} "{"code": 200, "data": [...]}"
// @Success 200 {string} string {data=response.Page{list=[]models.SysApi}} "{"code": 200, "data": [...]}"
// @Router /api/v1/sys-config [get]
// @Security Bearer
func (e SysConfig) GetPage(c *gin.Context) {
......@@ -56,7 +56,7 @@ func (e SysConfig) GetPage(c *gin.Context) {
// @Description 获取配置管理
// @Tags 配置管理
// @Param id path string false "id"
// @Success 200 {object} response.Response{data=models.SysConfig} "{"code": 200, "data": [...]}"
// @Success 200 {string} string {data=models.SysConfig} "{"code": 200, "data": [...]}"
// @Router /api/v1/sys-config/{id} [get]
// @Security Bearer
func (e SysConfig) Get(c *gin.Context) {
......@@ -90,7 +90,7 @@ func (e SysConfig) Get(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param data body dto.SysConfigControl true "body"
// @Success 200 {object} response.Response "{"code": 200, "message": "创建成功"}"
// @Success 200 {string} string "{"code": 200, "message": "创建成功"}"
// @Router /api/v1/sys-config [post]
// @Security Bearer
func (e SysConfig) Insert(c *gin.Context) {
......@@ -123,7 +123,7 @@ func (e SysConfig) Insert(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param data body dto.SysConfigControl true "body"
// @Success 200 {object} response.Response "{"code": 200, "message": "修改成功"}"
// @Success 200 {string} string "{"code": 200, "message": "修改成功"}"
// @Router /api/v1/sys-config/{id} [put]
// @Security Bearer
func (e SysConfig) Update(c *gin.Context) {
......@@ -153,7 +153,7 @@ func (e SysConfig) Update(c *gin.Context) {
// @Description 删除配置管理
// @Tags 配置管理
// @Param ids body []int false "ids"
// @Success 200 {object} response.Response "{"code": 200, "message": "删除成功"}"
// @Success 200 {string} string "{"code": 200, "message": "删除成功"}"
// @Router /api/v1/sys-config [delete]
// @Security Bearer
func (e SysConfig) Delete(c *gin.Context) {
......@@ -183,7 +183,7 @@ func (e SysConfig) Delete(c *gin.Context) {
// @Summary 获取系统前台配置信息,主要注意这里不在验证权限
// @Description 获取系统配置信息,主要注意这里不在验证权限
// @Tags 配置管理
// @Success 200 {object} response.Response{data=map[string]string} "{"code": 200, "data": [...]}"
// @Success 200 {string} string {data=map[string]string} "{"code": 200, "data": [...]}"
// @Router /api/v1/app-config [get]
func (e SysConfig) Get2SysApp(c *gin.Context) {
req := dto.SysConfigGetToSysAppReq{}
......@@ -221,7 +221,7 @@ func (e SysConfig) Get2SysApp(c *gin.Context) {
// @Tags 配置管理
// @Accept application/json
// @Product application/json
// @Success 200 {object} response.Response{data=map[string]interface{}} "{"code": 200, "message": "修改成功"}"
// @Success 200 {string} string {data=map[string]interface{}} "{"code": 200, "message": "修改成功"}"
// @Router /api/v1/set-config [get]
// @Security Bearer
func (e SysConfig) Get2Set(c *gin.Context) {
......@@ -255,7 +255,7 @@ func (e SysConfig) Get2Set(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param data body []dto.GetSetSysConfigReq true "body"
// @Success 200 {object} response.Response "{"code": 200, "message": "修改成功"}"
// @Success 200 {string} string "{"code": 200, "message": "修改成功"}"
// @Router /api/v1/set-config [put]
// @Security Bearer
func (e SysConfig) Update2Set(c *gin.Context) {
......@@ -286,7 +286,7 @@ func (e SysConfig) Update2Set(c *gin.Context) {
// @Description 根据Key获取SysConfig的Service
// @Tags 配置管理
// @Param configKey path string false "configKey"
// @Success 200 {object} response.Response{data=dto.SysConfigByKeyReq} "{"code": 200, "data": [...]}"
// @Success 200 {string} string {data=dto.SysConfigByKeyReq} "{"code": 200, "data": [...]}"
// @Router /api/v1/sys-config/{id} [get]
// @Security Bearer
func (e SysConfig) GetSysConfigByKEYForService(c *gin.Context) {
......
......@@ -24,7 +24,7 @@ type SysDept struct {
// @Param deptName query string false "deptName"
// @Param deptId query string false "deptId"
// @Param position query string false "position"
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/dept [get]
// @Security Bearer
func (e SysDept) GetPage(c *gin.Context) {
......@@ -54,7 +54,7 @@ func (e SysDept) GetPage(c *gin.Context) {
// @Description 获取JSON
// @Tags 部门
// @Param deptId path string false "deptId"
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/dept/{deptId} [get]
// @Security Bearer
func (e SysDept) Get(c *gin.Context) {
......
......@@ -25,7 +25,7 @@ type SysDictData struct {
// @Param dictType query string false "dictType"
// @Param pageSize query int false "页条数"
// @Param pageIndex query int false "页码"
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/dict/data [get]
// @Security Bearer
func (e SysDictData) GetPage(c *gin.Context) {
......@@ -58,7 +58,7 @@ func (e SysDictData) GetPage(c *gin.Context) {
// @Description 获取JSON
// @Tags 字典数据
// @Param dictCode path int true "字典编码"
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/dict/data/{dictCode} [get]
// @Security Bearer
func (e SysDictData) Get(c *gin.Context) {
......@@ -94,7 +94,7 @@ func (e SysDictData) Get(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param data body dto.SysDictDataInsertReq true "data"
// @Success 200 {object} response.Response "{"code": 200, "message": "添加成功"}"
// @Success 200 {string} string "{"code": 200, "message": "添加成功"}"
// @Router /api/v1/dict/data [post]
// @Security Bearer
func (e SysDictData) Insert(c *gin.Context) {
......@@ -127,7 +127,7 @@ func (e SysDictData) Insert(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param data body dto.SysDictDataUpdateReq true "body"
// @Success 200 {object} response.Response "{"code": 200, "message": "修改成功"}"
// @Success 200 {string} string "{"code": 200, "message": "修改成功"}"
// @Router /api/v1/dict/data/{dictCode} [put]
// @Security Bearer
func (e SysDictData) Update(c *gin.Context) {
......@@ -157,7 +157,7 @@ func (e SysDictData) Update(c *gin.Context) {
// @Description 删除数据
// @Tags 字典数据
// @Param dictCode body dto.SysDictDataDeleteReq true "body"
// @Success 200 {object} response.Response "{"code": 200, "message": "删除成功"}"
// @Success 200 {string} string "{"code": 200, "message": "删除成功"}"
// @Router /api/v1/dict/data [delete]
// @Security Bearer
func (e SysDictData) Delete(c *gin.Context) {
......@@ -187,7 +187,7 @@ func (e SysDictData) Delete(c *gin.Context) {
// @Description 数据字典根据key获取
// @Tags 字典数据
// @Param dictType query int true "dictType"
// @Success 200 {object} response.Response{data=[]dto.SysDictDataGetAllResp} "{"code": 200, "data": [...]}"
// @Success 200 {string} string {data=[]dto.SysDictDataGetAllResp} "{"code": 200, "data": [...]}"
// @Router /api/v1/dict-data/option-select [get]
// @Security Bearer
func (e SysDictData) GetAll(c *gin.Context) {
......
......@@ -26,7 +26,7 @@ type SysDictType struct {
// @Param dictType query string false "dictType"
// @Param pageSize query int false "页条数"
// @Param pageIndex query int false "页码"
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/dict/type [get]
// @Security Bearer
func (e SysDictType) GetPage(c *gin.Context) {
......@@ -57,7 +57,7 @@ func (e SysDictType) GetPage(c *gin.Context) {
// @Description 获取JSON
// @Tags 字典类型
// @Param dictId path int true "字典类型编码"
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/dict/type/{dictId} [get]
// @Security Bearer
func (e SysDictType) Get(c *gin.Context) {
......@@ -89,7 +89,7 @@ func (e SysDictType) Get(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param data body dto.SysDictTypeInsertReq true "data"
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/dict/type [post]
// @Security Bearer
func (e SysDictType) Insert(c *gin.Context) {
......@@ -122,7 +122,7 @@ func (e SysDictType) Insert(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param data body dto.SysDictTypeUpdateReq true "body"
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/dict/type/{dictId} [put]
// @Security Bearer
func (e SysDictType) Update(c *gin.Context) {
......@@ -152,7 +152,7 @@ func (e SysDictType) Update(c *gin.Context) {
// @Description 删除数据
// @Tags 字典类型
// @Param dictCode body dto.SysDictTypeDeleteReq true "body"
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/dict/type [delete]
// @Security Bearer
func (e SysDictType) Delete(c *gin.Context) {
......@@ -184,7 +184,7 @@ func (e SysDictType) Delete(c *gin.Context) {
// @Param dictName query string false "dictName"
// @Param dictId query string false "dictId"
// @Param dictType query string false "dictType"
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/dict/type-option-select [get]
// @Security Bearer
func (e SysDictType) GetAll(c *gin.Context) {
......
......@@ -24,7 +24,7 @@ type SysLoginLog struct {
// @Param status query string false "状态"
// @Param beginTime query string false "开始时间"
// @Param endTime query string false "结束时间"
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/sys-login-log [get]
// @Security Bearer
func (e SysLoginLog) GetPage(c *gin.Context) {
......@@ -55,7 +55,7 @@ func (e SysLoginLog) GetPage(c *gin.Context) {
// @Description 获取JSON
// @Tags 登录日志
// @Param id path string false "id"
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/sys-login-log/{id} [get]
// @Security Bearer
func (e SysLoginLog) Get(c *gin.Context) {
......@@ -85,7 +85,7 @@ func (e SysLoginLog) Get(c *gin.Context) {
// @Description 登录日志删除
// @Tags 登录日志
// @Param data body dto.SysLoginLogDeleteReq true "body"
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/sys-login-log [delete]
// @Security Bearer
func (e SysLoginLog) Delete(c *gin.Context) {
......
......@@ -20,7 +20,7 @@ type SysMenu struct {
// @Description 获取JSON
// @Tags 菜单
// @Param menuName query string false "menuName"
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/menu [get]
// @Security Bearer
func (e SysMenu) GetPage(c *gin.Context) {
......@@ -50,7 +50,7 @@ func (e SysMenu) GetPage(c *gin.Context) {
// @Description 获取JSON
// @Tags 菜单
// @Param id path string false "id"
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/menu/{id} [get]
// @Security Bearer
func (e SysMenu) Get(c *gin.Context) {
......@@ -83,7 +83,7 @@ func (e SysMenu) Get(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param data body dto.SysMenuInsertReq true "data"
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/menu [post]
// @Security Bearer
func (e SysMenu) Insert(c *gin.Context) {
......@@ -117,7 +117,7 @@ func (e SysMenu) Insert(c *gin.Context) {
// @Product application/json
// @Param id path int true "id"
// @Param data body dto.SysMenuUpdateReq true "body"
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/menu/{id} [put]
// @Security Bearer
func (e SysMenu) Update(c *gin.Context) {
......@@ -148,7 +148,7 @@ func (e SysMenu) Update(c *gin.Context) {
// @Description 删除数据
// @Tags 菜单
// @Param data body dto.SysMenuDeleteReq true "body"
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/menu [delete]
// @Security Bearer
func (e SysMenu) Delete(c *gin.Context) {
......@@ -177,7 +177,7 @@ func (e SysMenu) Delete(c *gin.Context) {
// @Summary 根据登录角色名称获取菜单列表数据(左菜单使用)
// @Description 获取JSON
// @Tags 菜单
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/menurole [get]
// @Security Bearer
func (e SysMenu) GetMenuRole(c *gin.Context) {
......@@ -207,7 +207,7 @@ func (e SysMenu) GetMenuRole(c *gin.Context) {
//// @Description 获取JSON
//// @Tags 菜单
//// @Param id path int true "id"
//// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
//// @Success 200 {string} string "{"code": 200, "data": [...]}"
//// @Router /api/v1/menuids/{id} [get]
//// @Security Bearer
//func (e SysMenu) GetMenuIDS(c *gin.Context) {
......@@ -247,7 +247,7 @@ func (e SysMenu) GetMenuRole(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param roleId path int true "roleId"
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/menuTreeselect/{roleId} [get]
// @Security Bearer
func (e SysMenu) GetMenuTreeSelect(c *gin.Context) {
......
......@@ -26,7 +26,7 @@ type SysOperaLog struct {
// @Param status query string false "status"
// @Param beginTime query string false "beginTime"
// @Param endTime query string false "endTime"
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/sys-opera-log [get]
// @Security Bearer
func (e SysOperaLog) GetPage(c *gin.Context) {
......@@ -60,7 +60,7 @@ func (e SysOperaLog) GetPage(c *gin.Context) {
// @Description 获取JSON
// @Tags 操作日志
// @Param id path string false "id"
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/sys-opera-log/{id} [get]
// @Security Bearer
func (e SysOperaLog) Get(c *gin.Context) {
......@@ -91,7 +91,7 @@ func (e SysOperaLog) Get(c *gin.Context) {
// @Description 删除数据
// @Tags 操作日志
// @Param data body dto.SysOperaLogDeleteReq true "body"
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/sys-opera-log [delete]
// @Security Bearer
func (e SysOperaLog) Delete(c *gin.Context) {
......
......@@ -26,7 +26,7 @@ type SysPost struct {
// @Param postCode query string false "postCode"
// @Param postId query string false "postId"
// @Param status query string false "status"
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/post [get]
// @Security Bearer
func (e SysPost) GetPage(c *gin.Context) {
......@@ -60,7 +60,7 @@ func (e SysPost) GetPage(c *gin.Context) {
// @Description 获取JSON
// @Tags 岗位
// @Param id path int true "编码"
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/post/{postId} [get]
// @Security Bearer
func (e SysPost) Get(c *gin.Context) {
......@@ -94,7 +94,7 @@ func (e SysPost) Get(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param data body dto.SysPostInsertReq true "data"
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/post [post]
// @Security Bearer
func (e SysPost) Insert(c *gin.Context) {
......@@ -126,7 +126,7 @@ func (e SysPost) Insert(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param data body dto.SysPostUpdateReq true "body"
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/post/{id} [put]
// @Security Bearer
func (e SysPost) Update(c *gin.Context) {
......@@ -158,7 +158,7 @@ func (e SysPost) Update(c *gin.Context) {
// @Description 删除数据
// @Tags 岗位
// @Param id body dto.SysPostDeleteReq true "请求参数"
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/post [delete]
// @Security Bearer
func (e SysPost) Delete(c *gin.Context) {
......
......@@ -30,7 +30,7 @@ type SysRole struct {
// @Param roleKey query string false "roleKey"
// @Param pageSize query int false "页条数"
// @Param pageIndex query int false "页码"
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/role [get]
// @Security Bearer
func (e SysRole) GetPage(c *gin.Context) {
......@@ -64,7 +64,7 @@ func (e SysRole) GetPage(c *gin.Context) {
// @Description 获取JSON
// @Tags 角色/Role
// @Param roleId path string false "roleId"
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/role/{id} [get]
// @Security Bearer
func (e SysRole) Get(c *gin.Context) {
......@@ -99,7 +99,7 @@ func (e SysRole) Get(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param data body dto.SysRoleInsertReq true "data"
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/role [post]
// @Security Bearer
func (e SysRole) Insert(c *gin.Context) {
......@@ -143,7 +143,7 @@ func (e SysRole) Insert(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param data body dto.SysRoleUpdateReq true "body"
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/role/{id} [put]
// @Security Bearer
func (e SysRole) Update(c *gin.Context) {
......@@ -181,7 +181,7 @@ func (e SysRole) Update(c *gin.Context) {
// @Description 删除数据
// @Tags 角色/Role
// @Param data body dto.SysRoleDeleteReq true "body"
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/role [delete]
// @Security Bearer
func (e SysRole) Delete(c *gin.Context) {
......@@ -219,7 +219,7 @@ func (e SysRole) Delete(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param data body dto.UpdateStatusReq true "body"
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/role-status/{id} [put]
// @Security Bearer
func (e SysRole) Update2Status(c *gin.Context) {
......@@ -251,7 +251,7 @@ func (e SysRole) Update2Status(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param data body dto.RoleDataScopeReq true "body"
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/role-status/{id} [put]
// @Security Bearer
func (e SysRole) Update2DataScope(c *gin.Context) {
......
......@@ -62,7 +62,7 @@ func (e SysUser) GetPage(c *gin.Context) {
// @Description 获取JSON
// @Tags 用户
// @Param userId path int true "用户编码"
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/sys-user/{userId} [get]
// @Security Bearer
func (e SysUser) Get(c *gin.Context) {
......@@ -96,7 +96,7 @@ func (e SysUser) Get(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param data body dto.SysUserInsertReq true "用户数据"
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/sys-user [post]
// @Security Bearer
func (e SysUser) Insert(c *gin.Context) {
......@@ -131,7 +131,7 @@ func (e SysUser) Insert(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param data body dto.SysUserUpdateReq true "body"
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/sys-user/{userId} [put]
// @Security Bearer
func (e SysUser) Update(c *gin.Context) {
......@@ -166,7 +166,7 @@ func (e SysUser) Update(c *gin.Context) {
// @Description 删除数据
// @Tags 用户
// @Param userId path int true "userId"
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/sys-user/{userId} [delete]
// @Security Bearer
func (e SysUser) Delete(c *gin.Context) {
......@@ -203,7 +203,7 @@ func (e SysUser) Delete(c *gin.Context) {
// @Tags 个人中心
// @Accept multipart/form-data
// @Param file formData file true "file"
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/user/avatar [post]
// @Security Bearer
func (e SysUser) InsetAvatar(c *gin.Context) {
......@@ -252,7 +252,7 @@ func (e SysUser) InsetAvatar(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param data body dto.UpdateSysUserStatusReq true "body"
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/user/status [put]
// @Security Bearer
func (e SysUser) UpdateStatus(c *gin.Context) {
......@@ -289,7 +289,7 @@ func (e SysUser) UpdateStatus(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param data body dto.ResetSysUserPwdReq true "body"
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/user/pwd/reset [put]
// @Security Bearer
func (e SysUser) ResetPwd(c *gin.Context) {
......@@ -326,7 +326,7 @@ func (e SysUser) ResetPwd(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param data body dto.PassWord true "body"
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/user/pwd/set [put]
// @Security Bearer
func (e SysUser) UpdatePwd(c *gin.Context) {
......@@ -359,7 +359,7 @@ func (e SysUser) UpdatePwd(c *gin.Context) {
// @Summary 获取个人中心用户
// @Description 获取JSON
// @Tags 个人中心
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/user/profile [get]
// @Security Bearer
func (e SysUser) GetProfile(c *gin.Context) {
......@@ -397,7 +397,7 @@ func (e SysUser) GetProfile(c *gin.Context) {
// @Summary 获取个人信息
// @Description 获取JSON
// @Tags 个人中心
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/getinfo [get]
// @Security Bearer
func (e SysUser) GetInfo(c *gin.Context) {
......
......@@ -55,14 +55,16 @@ func SaveSysApi(message storage.Messager) (err error) {
return err
}
dbList := sdk.Runtime.GetDb()
fmt.Println(dbList)
//return nil
for _, d := range dbList {
for _, v := range l.List {
if v.HttpMethod != "HEAD" ||
strings.Contains(v.RelativePath, "/swagger/") ||
strings.Contains(v.RelativePath, "/static/") ||
strings.Contains(v.RelativePath, "/form-generator/") ||
strings.Contains(v.RelativePath, "/sys/tables") {
strings.Contains(v.RelativePath, "/sys/tables") ||
strings.Contains(v.RelativePath, "/org") {
// 根据接口方法注释里的@Summary填充接口名称,适用于代码生成器
// 可在此处增加配置路径前缀的if判断,只对代码生成的自建应用进行定向的接口名称填充
jsonFile, _ := ioutil.ReadFile("docs/swagger.json")
......
......@@ -24,7 +24,7 @@ type OrgLeague struct {
// @Tags 联赛
// @Param pageSize query int false "页条数"
// @Param pageIndex query int false "页码"
// @Success 200 {object} response.Response{data=response.Page{list=[]models.OrgLeague}} "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/org-league [get]
// @Security Bearer
func (e OrgLeague) GetPage(c *gin.Context) {
......@@ -59,7 +59,7 @@ func (e OrgLeague) GetPage(c *gin.Context) {
// @Description 获取联赛
// @Tags 联赛
// @Param id path string false "id"
// @Success 200 {object} response.Response{data=models.OrgLeague} "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/org-league/{id} [get]
// @Security Bearer
func (e OrgLeague) Get(c *gin.Context) {
......@@ -94,7 +94,7 @@ func (e OrgLeague) Get(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param data body dto.OrgLeagueInsertReq true "data"
// @Success 200 {object} response.Response "{"code": 200, "message": "添加成功"}"
// @Success 200 {string} string "{"code": 200, "message": "添加成功"}"
// @Router /api/v1/org-league [post]
// @Security Bearer
func (e OrgLeague) Insert(c *gin.Context) {
......@@ -129,7 +129,7 @@ func (e OrgLeague) Insert(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param data body dto.OrgLeagueUpdateReq true "body"
// @Success 200 {object} response.Response "{"code": 200, "message": "修改成功"}"
// @Success 200 {string} string "{"code": 200, "message": "修改成功"}"
// @Router /api/v1/org-league/{id} [put]
// @Security Bearer
func (e OrgLeague) Update(c *gin.Context) {
......@@ -161,7 +161,7 @@ func (e OrgLeague) Update(c *gin.Context) {
// @Description 删除联赛
// @Tags 联赛
// @Param ids body []int false "ids"
// @Success 200 {object} response.Response "{"code": 200, "message": "删除成功"}"
// @Success 200 {string} string "{"code": 200, "message": "删除成功"}"
// @Router /api/v1/org-league [delete]
// @Security Bearer
func (e OrgLeague) Delete(c *gin.Context) {
......
......@@ -24,7 +24,7 @@ type OrgAd struct {
// @Tags 广告
// @Param pageSize query int false "页条数"
// @Param pageIndex query int false "页码"
// @Success 200 {object} response.Response{data=response.Page{list=[]models.OrgAd}} "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/org-ad [get]
// @Security Bearer
func (e OrgAd) GetPage(c *gin.Context) {
......@@ -59,7 +59,7 @@ func (e OrgAd) GetPage(c *gin.Context) {
// @Description 获取广告
// @Tags 广告
// @Param id path string false "id"
// @Success 200 {object} response.Response{data=models.OrgAd} "{"code": 200, "data": [...]}"
// @Success 200 {string} string {data=models.OrgAd} "{"code": 200, "data": [...]}"
// @Router /api/v1/org-ad/{id} [get]
// @Security Bearer
func (e OrgAd) Get(c *gin.Context) {
......@@ -94,7 +94,7 @@ func (e OrgAd) Get(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param data body dto.OrgAdInsertReq true "data"
// @Success 200 {object} response.Response "{"code": 200, "message": "添加成功"}"
// @Success 200 {string} string "{"code": 200, "message": "添加成功"}"
// @Router /api/v1/org-ad [post]
// @Security Bearer
func (e OrgAd) Insert(c *gin.Context) {
......@@ -129,7 +129,7 @@ func (e OrgAd) Insert(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param data body dto.OrgAdUpdateReq true "body"
// @Success 200 {object} response.Response "{"code": 200, "message": "修改成功"}"
// @Success 200 {string} string "{"code": 200, "message": "修改成功"}"
// @Router /api/v1/org-ad/{id} [put]
// @Security Bearer
func (e OrgAd) Update(c *gin.Context) {
......@@ -161,7 +161,7 @@ func (e OrgAd) Update(c *gin.Context) {
// @Description 删除广告
// @Tags 广告
// @Param ids body []int false "ids"
// @Success 200 {object} response.Response "{"code": 200, "message": "删除成功"}"
// @Success 200 {string} string "{"code": 200, "message": "删除成功"}"
// @Router /api/v1/org-ad [delete]
// @Security Bearer
func (e OrgAd) Delete(c *gin.Context) {
......
......@@ -24,7 +24,7 @@ type OrgClub struct {
// @Tags 俱乐部
// @Param pageSize query int false "页条数"
// @Param pageIndex query int false "页码"
// @Success 200 {object} response.Response{data=response.Page{list=[]models.OrgClub}} "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/org-club [get]
// @Security Bearer
func (e OrgClub) GetPage(c *gin.Context) {
......@@ -59,7 +59,7 @@ func (e OrgClub) GetPage(c *gin.Context) {
// @Description 获取俱乐部
// @Tags 俱乐部
// @Param id path string false "id"
// @Success 200 {object} response.Response{data=models.OrgClub} "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/org-club/{id} [get]
// @Security Bearer
func (e OrgClub) Get(c *gin.Context) {
......@@ -94,7 +94,7 @@ func (e OrgClub) Get(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param data body dto.OrgClubInsertReq true "data"
// @Success 200 {object} response.Response "{"code": 200, "message": "添加成功"}"
// @Success 200 {string} string "{"code": 200, "message": "添加成功"}"
// @Router /api/v1/org-club [post]
// @Security Bearer
func (e OrgClub) Insert(c *gin.Context) {
......@@ -129,7 +129,7 @@ func (e OrgClub) Insert(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param data body dto.OrgClubUpdateReq true "body"
// @Success 200 {object} response.Response "{"code": 200, "message": "修改成功"}"
// @Success 200 {string} string "{"code": 200, "message": "修改成功"}"
// @Router /api/v1/org-club/{id} [put]
// @Security Bearer
func (e OrgClub) Update(c *gin.Context) {
......@@ -161,7 +161,7 @@ func (e OrgClub) Update(c *gin.Context) {
// @Description 删除俱乐部
// @Tags 俱乐部
// @Param ids body []int false "ids"
// @Success 200 {object} response.Response "{"code": 200, "message": "删除成功"}"
// @Success 200 {string} string "{"code": 200, "message": "删除成功"}"
// @Router /api/v1/org-club [delete]
// @Security Bearer
func (e OrgClub) Delete(c *gin.Context) {
......
......@@ -24,7 +24,7 @@ type OrgClubUser struct {
// @Tags 俱乐部账户信息
// @Param pageSize query int false "页条数"
// @Param pageIndex query int false "页码"
// @Success 200 {object} response.Response{data=response.Page{list=[]models.OrgClubUser}} "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/org-club-user [get]
// @Security Bearer
func (e OrgClubUser) GetPage(c *gin.Context) {
......@@ -59,7 +59,7 @@ func (e OrgClubUser) GetPage(c *gin.Context) {
// @Description 获取俱乐部账户信息
// @Tags 俱乐部账户信息
// @Param id path string false "id"
// @Success 200 {object} response.Response{data=models.OrgClubUser} "{"code": 200, "data": [...]}"
// @Success 200 {string} string {data=models.OrgClubUser} "{"code": 200, "data": [...]}"
// @Router /api/v1/org-club-user/{id} [get]
// @Security Bearer
func (e OrgClubUser) Get(c *gin.Context) {
......@@ -94,7 +94,7 @@ func (e OrgClubUser) Get(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param data body dto.OrgClubUserInsertReq true "data"
// @Success 200 {object} response.Response "{"code": 200, "message": "添加成功"}"
// @Success 200 {string} string "{"code": 200, "message": "添加成功"}"
// @Router /api/v1/org-club-user [post]
// @Security Bearer
func (e OrgClubUser) Insert(c *gin.Context) {
......@@ -129,7 +129,7 @@ func (e OrgClubUser) Insert(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param data body dto.OrgClubUserUpdateReq true "body"
// @Success 200 {object} response.Response "{"code": 200, "message": "修改成功"}"
// @Success 200 {string} string "{"code": 200, "message": "修改成功"}"
// @Router /api/v1/org-club-user/{id} [put]
// @Security Bearer
func (e OrgClubUser) Update(c *gin.Context) {
......@@ -161,7 +161,7 @@ func (e OrgClubUser) Update(c *gin.Context) {
// @Description 删除俱乐部账户信息
// @Tags 俱乐部账户信息
// @Param ids body []int false "ids"
// @Success 200 {object} response.Response "{"code": 200, "message": "删除成功"}"
// @Success 200 {string} string "{"code": 200, "message": "删除成功"}"
// @Router /api/v1/org-club-user [delete]
// @Security Bearer
func (e OrgClubUser) Delete(c *gin.Context) {
......
......@@ -24,7 +24,7 @@ type OrgDivision struct {
// @Tags 赛区
// @Param pageSize query int false "页条数"
// @Param pageIndex query int false "页码"
// @Success 200 {object} response.Response{data=response.Page{list=[]models.OrgDivision}} "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/org-division [get]
// @Security Bearer
func (e OrgDivision) GetPage(c *gin.Context) {
......@@ -59,7 +59,7 @@ func (e OrgDivision) GetPage(c *gin.Context) {
// @Description 获取赛区
// @Tags 赛区
// @Param id path string false "id"
// @Success 200 {object} response.Response{data=models.OrgDivision} "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/org-division/{id} [get]
// @Security Bearer
func (e OrgDivision) Get(c *gin.Context) {
......@@ -94,7 +94,7 @@ func (e OrgDivision) Get(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param data body dto.OrgDivisionInsertReq true "data"
// @Success 200 {object} response.Response "{"code": 200, "message": "添加成功"}"
// @Success 200 {string} string "{"code": 200, "message": "添加成功"}"
// @Router /api/v1/org-division [post]
// @Security Bearer
func (e OrgDivision) Insert(c *gin.Context) {
......@@ -129,7 +129,7 @@ func (e OrgDivision) Insert(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param data body dto.OrgDivisionUpdateReq true "body"
// @Success 200 {object} response.Response "{"code": 200, "message": "修改成功"}"
// @Success 200 {string} string "{"code": 200, "message": "修改成功"}"
// @Router /api/v1/org-division/{id} [put]
// @Security Bearer
func (e OrgDivision) Update(c *gin.Context) {
......@@ -161,7 +161,7 @@ func (e OrgDivision) Update(c *gin.Context) {
// @Description 删除赛区
// @Tags 赛区
// @Param ids body []int false "ids"
// @Success 200 {object} response.Response "{"code": 200, "message": "删除成功"}"
// @Success 200 {string} string "{"code": 200, "message": "删除成功"}"
// @Router /api/v1/org-division [delete]
// @Security Bearer
func (e OrgDivision) Delete(c *gin.Context) {
......
......@@ -24,7 +24,7 @@ type OrgLeague struct {
// @Tags 联赛
// @Param pageSize query int false "页条数"
// @Param pageIndex query int false "页码"
// @Success 200 {object} response.Response{data=response.Page{list=[]models.OrgLeague}} "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/org-league [get]
// @Security Bearer
func (e OrgLeague) GetPage(c *gin.Context) {
......@@ -59,7 +59,7 @@ func (e OrgLeague) GetPage(c *gin.Context) {
// @Description 获取联赛
// @Tags 联赛
// @Param id path string false "id"
// @Success 200 {object} response.Response{data=models.OrgLeague} "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/org-league/{id} [get]
// @Security Bearer
func (e OrgLeague) Get(c *gin.Context) {
......@@ -94,7 +94,7 @@ func (e OrgLeague) Get(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param data body dto.OrgLeagueInsertReq true "data"
// @Success 200 {object} response.Response "{"code": 200, "message": "添加成功"}"
// @Success 200 {string} string "{"code": 200, "message": "添加成功"}"
// @Router /api/v1/org-league [post]
// @Security Bearer
func (e OrgLeague) Insert(c *gin.Context) {
......@@ -129,7 +129,7 @@ func (e OrgLeague) Insert(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param data body dto.OrgLeagueUpdateReq true "body"
// @Success 200 {object} response.Response "{"code": 200, "message": "修改成功"}"
// @Success 200 {string} string "{"code": 200, "message": "修改成功"}"
// @Router /api/v1/org-league/{id} [put]
// @Security Bearer
func (e OrgLeague) Update(c *gin.Context) {
......@@ -161,7 +161,7 @@ func (e OrgLeague) Update(c *gin.Context) {
// @Description 删除联赛
// @Tags 联赛
// @Param ids body []int false "ids"
// @Success 200 {object} response.Response "{"code": 200, "message": "删除成功"}"
// @Success 200 {string} string "{"code": 200, "message": "删除成功"}"
// @Router /api/v1/org-league [delete]
// @Security Bearer
func (e OrgLeague) Delete(c *gin.Context) {
......
......@@ -24,7 +24,7 @@ type OrgMatch struct {
// @Tags 比赛
// @Param pageSize query int false "页条数"
// @Param pageIndex query int false "页码"
// @Success 200 {object} response.Response{data=response.Page{list=[]models.OrgMatch}} "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/org-match [get]
// @Security Bearer
func (e OrgMatch) GetPage(c *gin.Context) {
......@@ -59,7 +59,7 @@ func (e OrgMatch) GetPage(c *gin.Context) {
// @Description 获取比赛
// @Tags 比赛
// @Param id path string false "id"
// @Success 200 {object} response.Response{data=models.OrgMatch} "{"code": 200, "data": [...]}"
// @Success 200 {string} string {data=models.OrgMatch} "{"code": 200, "data": [...]}"
// @Router /api/v1/org-match/{id} [get]
// @Security Bearer
func (e OrgMatch) Get(c *gin.Context) {
......@@ -94,7 +94,7 @@ func (e OrgMatch) Get(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param data body dto.OrgMatchInsertReq true "data"
// @Success 200 {object} response.Response "{"code": 200, "message": "添加成功"}"
// @Success 200 {string} string "{"code": 200, "message": "添加成功"}"
// @Router /api/v1/org-match [post]
// @Security Bearer
func (e OrgMatch) Insert(c *gin.Context) {
......@@ -129,7 +129,7 @@ func (e OrgMatch) Insert(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param data body dto.OrgMatchUpdateReq true "body"
// @Success 200 {object} response.Response "{"code": 200, "message": "修改成功"}"
// @Success 200 {string} string "{"code": 200, "message": "修改成功"}"
// @Router /api/v1/org-match/{id} [put]
// @Security Bearer
func (e OrgMatch) Update(c *gin.Context) {
......@@ -161,7 +161,7 @@ func (e OrgMatch) Update(c *gin.Context) {
// @Description 删除比赛
// @Tags 比赛
// @Param ids body []int false "ids"
// @Success 200 {object} response.Response "{"code": 200, "message": "删除成功"}"
// @Success 200 {string} string "{"code": 200, "message": "删除成功"}"
// @Router /api/v1/org-match [delete]
// @Security Bearer
func (e OrgMatch) Delete(c *gin.Context) {
......
......@@ -24,7 +24,7 @@ type OrgMatchEvaluate struct {
// @Tags 比赛球员信息
// @Param pageSize query int false "页条数"
// @Param pageIndex query int false "页码"
// @Success 200 {object} response.Response{data=response.Page{list=[]models.OrgMatchEvaluate}} "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/org-match-evaluate [get]
// @Security Bearer
func (e OrgMatchEvaluate) GetPage(c *gin.Context) {
......@@ -59,7 +59,7 @@ func (e OrgMatchEvaluate) GetPage(c *gin.Context) {
// @Description 获取比赛球员信息
// @Tags 比赛球员信息
// @Param id path string false "id"
// @Success 200 {object} response.Response{data=models.OrgMatchEvaluate} "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/org-match-evaluate/{id} [get]
// @Security Bearer
func (e OrgMatchEvaluate) Get(c *gin.Context) {
......@@ -94,7 +94,7 @@ func (e OrgMatchEvaluate) Get(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param data body dto.OrgMatchEvaluateInsertReq true "data"
// @Success 200 {object} response.Response "{"code": 200, "message": "添加成功"}"
// @Success 200 {string} string "{"code": 200, "message": "添加成功"}"
// @Router /api/v1/org-match-evaluate [post]
// @Security Bearer
func (e OrgMatchEvaluate) Insert(c *gin.Context) {
......@@ -129,7 +129,7 @@ func (e OrgMatchEvaluate) Insert(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param data body dto.OrgMatchEvaluateUpdateReq true "body"
// @Success 200 {object} response.Response "{"code": 200, "message": "修改成功"}"
// @Success 200 {string} string "{"code": 200, "message": "修改成功"}"
// @Router /api/v1/org-match-evaluate/{id} [put]
// @Security Bearer
func (e OrgMatchEvaluate) Update(c *gin.Context) {
......@@ -161,7 +161,7 @@ func (e OrgMatchEvaluate) Update(c *gin.Context) {
// @Description 删除比赛球员信息
// @Tags 比赛球员信息
// @Param ids body []int false "ids"
// @Success 200 {object} response.Response "{"code": 200, "message": "删除成功"}"
// @Success 200 {string} string "{"code": 200, "message": "删除成功"}"
// @Router /api/v1/org-match-evaluate [delete]
// @Security Bearer
func (e OrgMatchEvaluate) Delete(c *gin.Context) {
......
......@@ -24,7 +24,7 @@ type OrgMatchTeam struct {
// @Tags 比赛球队数据
// @Param pageSize query int false "页条数"
// @Param pageIndex query int false "页码"
// @Success 200 {object} response.Response{data=response.Page{list=[]models.OrgMatchTeam}} "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/org-match-team [get]
// @Security Bearer
func (e OrgMatchTeam) GetPage(c *gin.Context) {
......@@ -59,7 +59,7 @@ func (e OrgMatchTeam) GetPage(c *gin.Context) {
// @Description 获取比赛球队数据
// @Tags 比赛球队数据
// @Param id path string false "id"
// @Success 200 {object} response.Response{data=models.OrgMatchTeam} "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/org-match-team/{id} [get]
// @Security Bearer
func (e OrgMatchTeam) Get(c *gin.Context) {
......@@ -94,7 +94,7 @@ func (e OrgMatchTeam) Get(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param data body dto.OrgMatchTeamInsertReq true "data"
// @Success 200 {object} response.Response "{"code": 200, "message": "添加成功"}"
// @Success 200 {string} string "{"code": 200, "message": "添加成功"}"
// @Router /api/v1/org-match-team [post]
// @Security Bearer
func (e OrgMatchTeam) Insert(c *gin.Context) {
......@@ -129,7 +129,7 @@ func (e OrgMatchTeam) Insert(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param data body dto.OrgMatchTeamUpdateReq true "body"
// @Success 200 {object} response.Response "{"code": 200, "message": "修改成功"}"
// @Success 200 {string} string "{"code": 200, "message": "修改成功"}"
// @Router /api/v1/org-match-team/{id} [put]
// @Security Bearer
func (e OrgMatchTeam) Update(c *gin.Context) {
......@@ -161,7 +161,7 @@ func (e OrgMatchTeam) Update(c *gin.Context) {
// @Description 删除比赛球队数据
// @Tags 比赛球队数据
// @Param ids body []int false "ids"
// @Success 200 {object} response.Response "{"code": 200, "message": "删除成功"}"
// @Success 200 {string} string "{"code": 200, "message": "删除成功"}"
// @Router /api/v1/org-match-team [delete]
// @Security Bearer
func (e OrgMatchTeam) Delete(c *gin.Context) {
......
......@@ -24,7 +24,7 @@ type OrgMatchTeamPlayer struct {
// @Tags 比赛球员数据
// @Param pageSize query int false "页条数"
// @Param pageIndex query int false "页码"
// @Success 200 {object} response.Response{data=response.Page{list=[]models.OrgMatchTeamPlayer}} "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/org-match-team-player [get]
// @Security Bearer
func (e OrgMatchTeamPlayer) GetPage(c *gin.Context) {
......@@ -59,7 +59,7 @@ func (e OrgMatchTeamPlayer) GetPage(c *gin.Context) {
// @Description 获取比赛球员数据
// @Tags 比赛球员数据
// @Param id path string false "id"
// @Success 200 {object} response.Response{data=models.OrgMatchTeamPlayer} "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/org-match-team-player/{id} [get]
// @Security Bearer
func (e OrgMatchTeamPlayer) Get(c *gin.Context) {
......@@ -94,7 +94,7 @@ func (e OrgMatchTeamPlayer) Get(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param data body dto.OrgMatchTeamPlayerInsertReq true "data"
// @Success 200 {object} response.Response "{"code": 200, "message": "添加成功"}"
// @Success 200 {string} string "{"code": 200, "message": "添加成功"}"
// @Router /api/v1/org-match-team-player [post]
// @Security Bearer
func (e OrgMatchTeamPlayer) Insert(c *gin.Context) {
......@@ -129,7 +129,7 @@ func (e OrgMatchTeamPlayer) Insert(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param data body dto.OrgMatchTeamPlayerUpdateReq true "body"
// @Success 200 {object} response.Response "{"code": 200, "message": "修改成功"}"
// @Success 200 {string} string "{"code": 200, "message": "修改成功"}"
// @Router /api/v1/org-match-team-player/{id} [put]
// @Security Bearer
func (e OrgMatchTeamPlayer) Update(c *gin.Context) {
......@@ -161,7 +161,7 @@ func (e OrgMatchTeamPlayer) Update(c *gin.Context) {
// @Description 删除比赛球员数据
// @Tags 比赛球员数据
// @Param ids body []int false "ids"
// @Success 200 {object} response.Response "{"code": 200, "message": "删除成功"}"
// @Success 200 {string} string "{"code": 200, "message": "删除成功"}"
// @Router /api/v1/org-match-team-player [delete]
// @Security Bearer
func (e OrgMatchTeamPlayer) Delete(c *gin.Context) {
......
......@@ -24,7 +24,7 @@ type OrgNews struct {
// @Tags 新闻
// @Param pageSize query int false "页条数"
// @Param pageIndex query int false "页码"
// @Success 200 {object} response.Response{data=response.Page{list=[]models.OrgNews}} "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/org-news [get]
// @Security Bearer
func (e OrgNews) GetPage(c *gin.Context) {
......@@ -59,7 +59,7 @@ func (e OrgNews) GetPage(c *gin.Context) {
// @Description 获取新闻
// @Tags 新闻
// @Param id path string false "id"
// @Success 200 {object} response.Response{data=models.OrgNews} "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/org-news/{id} [get]
// @Security Bearer
func (e OrgNews) Get(c *gin.Context) {
......@@ -94,7 +94,7 @@ func (e OrgNews) Get(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param data body dto.OrgNewsInsertReq true "data"
// @Success 200 {object} response.Response "{"code": 200, "message": "添加成功"}"
// @Success 200 {string} string "{"code": 200, "message": "添加成功"}"
// @Router /api/v1/org-news [post]
// @Security Bearer
func (e OrgNews) Insert(c *gin.Context) {
......@@ -129,7 +129,7 @@ func (e OrgNews) Insert(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param data body dto.OrgNewsUpdateReq true "body"
// @Success 200 {object} response.Response "{"code": 200, "message": "修改成功"}"
// @Success 200 {string} string "{"code": 200, "message": "修改成功"}"
// @Router /api/v1/org-news/{id} [put]
// @Security Bearer
func (e OrgNews) Update(c *gin.Context) {
......@@ -161,7 +161,7 @@ func (e OrgNews) Update(c *gin.Context) {
// @Description 删除新闻
// @Tags 新闻
// @Param ids body []int false "ids"
// @Success 200 {object} response.Response "{"code": 200, "message": "删除成功"}"
// @Success 200 {string} string "{"code": 200, "message": "删除成功"}"
// @Router /api/v1/org-news [delete]
// @Security Bearer
func (e OrgNews) Delete(c *gin.Context) {
......
......@@ -24,7 +24,7 @@ type OrgPlayer struct {
// @Tags 球员
// @Param pageSize query int false "页条数"
// @Param pageIndex query int false "页码"
// @Success 200 {object} response.Response{data=response.Page{list=[]models.OrgPlayer}} "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/org-player [get]
// @Security Bearer
func (e OrgPlayer) GetPage(c *gin.Context) {
......@@ -59,7 +59,7 @@ func (e OrgPlayer) GetPage(c *gin.Context) {
// @Description 获取球员
// @Tags 球员
// @Param id path string false "id"
// @Success 200 {object} response.Response{data=models.OrgPlayer} "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/org-player/{id} [get]
// @Security Bearer
func (e OrgPlayer) Get(c *gin.Context) {
......@@ -94,7 +94,7 @@ func (e OrgPlayer) Get(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param data body dto.OrgPlayerInsertReq true "data"
// @Success 200 {object} response.Response "{"code": 200, "message": "添加成功"}"
// @Success 200 {string} string "{"code": 200, "message": "添加成功"}"
// @Router /api/v1/org-player [post]
// @Security Bearer
func (e OrgPlayer) Insert(c *gin.Context) {
......@@ -129,7 +129,7 @@ func (e OrgPlayer) Insert(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param data body dto.OrgPlayerUpdateReq true "body"
// @Success 200 {object} response.Response "{"code": 200, "message": "修改成功"}"
// @Success 200 {string} string "{"code": 200, "message": "修改成功"}"
// @Router /api/v1/org-player/{id} [put]
// @Security Bearer
func (e OrgPlayer) Update(c *gin.Context) {
......@@ -161,7 +161,7 @@ func (e OrgPlayer) Update(c *gin.Context) {
// @Description 删除球员
// @Tags 球员
// @Param ids body []int false "ids"
// @Success 200 {object} response.Response "{"code": 200, "message": "删除成功"}"
// @Success 200 {string} string "{"code": 200, "message": "删除成功"}"
// @Router /api/v1/org-player [delete]
// @Security Bearer
func (e OrgPlayer) Delete(c *gin.Context) {
......
......@@ -24,7 +24,7 @@ type OrgPlayerUser struct {
// @Tags 球员账户信息
// @Param pageSize query int false "页条数"
// @Param pageIndex query int false "页码"
// @Success 200 {object} response.Response{data=response.Page{list=[]models.OrgPlayerUser}} "{"code": 200, "data": [...]}"
// @Success 200 {string} string {"code": 200, "data": [...]}
// @Router /api/v1/org-player-user [get]
// @Security Bearer
func (e OrgPlayerUser) GetPage(c *gin.Context) {
......@@ -59,7 +59,7 @@ func (e OrgPlayerUser) GetPage(c *gin.Context) {
// @Description 获取球员账户信息
// @Tags 球员账户信息
// @Param id path string false "id"
// @Success 200 {object} response.Response{data=models.OrgPlayerUser} "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200,"msg":"更新成功","data":{}}"
// @Router /api/v1/org-player-user/{id} [get]
// @Security Bearer
func (e OrgPlayerUser) Get(c *gin.Context) {
......@@ -94,7 +94,7 @@ func (e OrgPlayerUser) Get(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param data body dto.OrgPlayerUserInsertReq true "data"
// @Success 200 {object} response.Response "{"code": 200, "message": "添加成功"}"
// @Success 200 {string} string "{"code": 200, "message": "添加成功"}"
// @Router /api/v1/org-player-user [post]
// @Security Bearer
func (e OrgPlayerUser) Insert(c *gin.Context) {
......@@ -129,7 +129,7 @@ func (e OrgPlayerUser) Insert(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param data body dto.OrgPlayerUserUpdateReq true "body"
// @Success 200 {object} response.Response "{"code": 200, "message": "修改成功"}"
// @Success 200 {string} string "{"code": 200, "message": "修改成功"}"
// @Router /api/v1/org-player-user/{id} [put]
// @Security Bearer
func (e OrgPlayerUser) Update(c *gin.Context) {
......@@ -161,7 +161,7 @@ func (e OrgPlayerUser) Update(c *gin.Context) {
// @Description 删除球员账户信息
// @Tags 球员账户信息
// @Param ids body []int false "ids"
// @Success 200 {object} response.Response "{"code": 200, "message": "删除成功"}"
// @Success 200 {string} string "{"code": 200, "message": "删除成功"}"
// @Router /api/v1/org-player-user [delete]
// @Security Bearer
func (e OrgPlayerUser) Delete(c *gin.Context) {
......
......@@ -24,7 +24,7 @@ type OrgSeason struct {
// @Tags 赛季
// @Param pageSize query int false "页条数"
// @Param pageIndex query int false "页码"
// @Success 200 {object} response.Response{data=response.Page{list=[]models.OrgSeason}} "{"code": 200, "data": [...]}"
// @Success 200 {string} string {data=response.Page{list=[]models.OrgSeason}} "{"code": 200, "data": [...]}"
// @Router /api/v1/org-season [get]
// @Security Bearer
func (e OrgSeason) GetPage(c *gin.Context) {
......@@ -59,7 +59,7 @@ func (e OrgSeason) GetPage(c *gin.Context) {
// @Description 获取赛季
// @Tags 赛季
// @Param id path string false "id"
// @Success 200 {object} response.Response{data=models.OrgSeason} "{"code": 200, "data": [...]}"
// @Success 200 {string} string {data=models.OrgSeason} "{"code": 200, "data": [...]}"
// @Router /api/v1/org-season/{id} [get]
// @Security Bearer
func (e OrgSeason) Get(c *gin.Context) {
......@@ -94,7 +94,7 @@ func (e OrgSeason) Get(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param data body dto.OrgSeasonInsertReq true "data"
// @Success 200 {object} response.Response "{"code": 200, "message": "添加成功"}"
// @Success 200 {string} string "{"code": 200, "message": "添加成功"}"
// @Router /api/v1/org-season [post]
// @Security Bearer
func (e OrgSeason) Insert(c *gin.Context) {
......@@ -129,7 +129,7 @@ func (e OrgSeason) Insert(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param data body dto.OrgSeasonUpdateReq true "body"
// @Success 200 {object} response.Response "{"code": 200, "message": "修改成功"}"
// @Success 200 {string} string "{"code": 200, "message": "修改成功"}"
// @Router /api/v1/org-season/{id} [put]
// @Security Bearer
func (e OrgSeason) Update(c *gin.Context) {
......@@ -161,7 +161,7 @@ func (e OrgSeason) Update(c *gin.Context) {
// @Description 删除赛季
// @Tags 赛季
// @Param ids body []int false "ids"
// @Success 200 {object} response.Response "{"code": 200, "message": "删除成功"}"
// @Success 200 {string} string "{"code": 200, "message": "删除成功"}"
// @Router /api/v1/org-season [delete]
// @Security Bearer
func (e OrgSeason) Delete(c *gin.Context) {
......
......@@ -24,7 +24,7 @@ type OrgTeam struct {
// @Tags 球队
// @Param pageSize query int false "页条数"
// @Param pageIndex query int false "页码"
// @Success 200 {object} response.Response{data=response.Page{list=[]models.OrgTeam}} "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/org-team [get]
// @Security Bearer
func (e OrgTeam) GetPage(c *gin.Context) {
......@@ -59,7 +59,7 @@ func (e OrgTeam) GetPage(c *gin.Context) {
// @Description 获取球队
// @Tags 球队
// @Param id path string false "id"
// @Success 200 {object} response.Response{data=models.OrgTeam} "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/org-team/{id} [get]
// @Security Bearer
func (e OrgTeam) Get(c *gin.Context) {
......@@ -94,7 +94,7 @@ func (e OrgTeam) Get(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param data body dto.OrgTeamInsertReq true "data"
// @Success 200 {object} response.Response "{"code": 200, "message": "添加成功"}"
// @Success 200 {string} string "{"code": 200, "message": "添加成功"}"
// @Router /api/v1/org-team [post]
// @Security Bearer
func (e OrgTeam) Insert(c *gin.Context) {
......@@ -129,7 +129,7 @@ func (e OrgTeam) Insert(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param data body dto.OrgTeamUpdateReq true "body"
// @Success 200 {object} response.Response "{"code": 200, "message": "修改成功"}"
// @Success 200 {string} string "{"code": 200, "message": "修改成功"}"
// @Router /api/v1/org-team/{id} [put]
// @Security Bearer
func (e OrgTeam) Update(c *gin.Context) {
......@@ -161,7 +161,7 @@ func (e OrgTeam) Update(c *gin.Context) {
// @Description 删除球队
// @Tags 球队
// @Param ids body []int false "ids"
// @Success 200 {object} response.Response "{"code": 200, "message": "删除成功"}"
// @Success 200 {string} string "{"code": 200, "message": "删除成功"}"
// @Router /api/v1/org-team [delete]
// @Security Bearer
func (e OrgTeam) Delete(c *gin.Context) {
......
......@@ -24,7 +24,7 @@ type OrgTeamUser struct {
// @Tags 球队人员账户信息
// @Param pageSize query int false "页条数"
// @Param pageIndex query int false "页码"
// @Success 200 {object} response.Response{data=response.Page{list=[]models.OrgTeamUser}} "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/org-team-user [get]
// @Security Bearer
func (e OrgTeamUser) GetPage(c *gin.Context) {
......@@ -59,7 +59,7 @@ func (e OrgTeamUser) GetPage(c *gin.Context) {
// @Description 获取球队人员账户信息
// @Tags 球队人员账户信息
// @Param id path string false "id"
// @Success 200 {object} response.Response{data=models.OrgTeamUser} "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/org-team-user/{id} [get]
// @Security Bearer
func (e OrgTeamUser) Get(c *gin.Context) {
......@@ -94,7 +94,7 @@ func (e OrgTeamUser) Get(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param data body dto.OrgTeamUserInsertReq true "data"
// @Success 200 {object} response.Response "{"code": 200, "message": "添加成功"}"
// @Success 200 {string} string "{"code": 200, "message": "添加成功"}"
// @Router /api/v1/org-team-user [post]
// @Security Bearer
func (e OrgTeamUser) Insert(c *gin.Context) {
......@@ -129,7 +129,7 @@ func (e OrgTeamUser) Insert(c *gin.Context) {
// @Accept application/json
// @Product application/json
// @Param data body dto.OrgTeamUserUpdateReq true "body"
// @Success 200 {object} response.Response "{"code": 200, "message": "修改成功"}"
// @Success 200 {string} string "{"code": 200, "message": "修改成功"}"
// @Router /api/v1/org-team-user/{id} [put]
// @Security Bearer
func (e OrgTeamUser) Update(c *gin.Context) {
......@@ -161,7 +161,7 @@ func (e OrgTeamUser) Update(c *gin.Context) {
// @Description 删除球队人员账户信息
// @Tags 球队人员账户信息
// @Param ids body []int false "ids"
// @Success 200 {object} response.Response "{"code": 200, "message": "删除成功"}"
// @Success 200 {string} string "{"code": 200, "message": "删除成功"}"
// @Router /api/v1/org-team-user [delete]
// @Security Bearer
func (e OrgTeamUser) Delete(c *gin.Context) {
......
......@@ -45,7 +45,7 @@ func GetHourDiffer(startTime, endTime string) int64 {
// @Summary 系统信息
// @Description 获取JSON
// @Tags 系统信息
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/server-monitor [get]
// @Security Bearer
func (e ServerMonitor) ServerInfo(c *gin.Context) {
......
......@@ -15,7 +15,7 @@ import (
// @Param tableName query string false "tableName / 数据表名称"
// @Param pageSize query int false "pageSize / 页条数"
// @Param pageIndex query int false "pageIndex / 页码"
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/db/columns/page [get]
func (e *Gen) GetDBColumnList(c *gin.Context) {
e.Context = c
......
......@@ -17,7 +17,7 @@ import (
// @Param tableName query string false "tableName / 数据表名称"
// @Param pageSize query int false "pageSize / 页条数"
// @Param pageIndex query int false "pageIndex / 页码"
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/db/tables/page [get]
func (e *Gen) GetDBTableList(c *gin.Context) {
//var res response.Response
......
......@@ -23,7 +23,7 @@ type SysTable struct {
// @Param tableName query string false "tableName / 数据表名称"
// @Param pageSize query int false "pageSize / 页条数"
// @Param pageIndex query int false "pageIndex / 页码"
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/sys/tables/page [get]
func (e SysTable) GetPage(c *gin.Context) {
e.Context = c
......@@ -64,7 +64,7 @@ func (e SysTable) GetPage(c *gin.Context) {
// @Description 获取JSON
// @Tags 工具 / 生成工具
// @Param configKey path int true "configKey"
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
// @Success 200 {string} string "{"code": 200, "data": [...]}"
// @Router /api/v1/sys/tables/info/{tableId} [get]
// @Security Bearer
func (e SysTable) Get(c *gin.Context) {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
No preview for this file type
module go-admin
go 1.15
go 1.16
require (
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751
......@@ -13,6 +13,7 @@ require (
github.com/go-admin-team/go-admin-core v1.3.8
github.com/go-admin-team/go-admin-core/sdk v1.3.9
github.com/google/uuid v1.2.0
github.com/medivhzhan/weapp/v2 v2.4.2
github.com/mssola/user_agent v0.5.2
github.com/opentracing/opentracing-go v1.1.0
github.com/prometheus/client_golang v1.11.0
......@@ -30,5 +31,4 @@ require (
gorm.io/driver/postgres v1.0.6-0.20201208020313-1ed927cfab53
gorm.io/driver/sqlite v1.1.5-0.20201206014648-c84401fbe3ba
gorm.io/gorm v1.21.11
github.com/medivhzhan/weapp/v2 v2.4.2
)
......@@ -965,7 +965,6 @@ golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7w
golang.org/x/sys v0.0.0-20210316164454-77fc1eacc6aa/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40 h1:JWgyZ1qgdTaF3N3oxC+MdTV7qvEEgHo3otj+HB5CM7Q=
golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/term v0.0.0-20201117132131-f5c789dd3221 h1:/ZHdbVpdR/jk3g30/d4yUL0JU9kksj8+F/bnQUVLGDM=
golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment