添加js模板,页面模板,去掉数据库数据初始化,去掉sql文件中没用语句

This commit is contained in:
zhangwenjian committed 2020-05-01 14:25:14 +08:00
1 parent ba1c7f6193
commit 8faff5384f
29 files changed
+1364 -771

No files matched your search

+2 -2
View File
@@ -13,7 +13,7 @@ import (
// @Param name query string false "name"
// @Param id query string false "id"
// @Param position query string false "position"
// @Success 200 {object} models.Response "{"code": 200, "data": [...]}"
// @Success 200 {object} app.Response "{"code": 200, "data": [...]}"
// @Router /api/v1/post [get]
// @Security
func GetPostList(c *gin.Context) {
@@ -45,7 +45,7 @@ func GetPostList(c *gin.Context) {
// @Description 获取JSON
// @Tags 字典数据
// @Param postId path int true "postId"
// @Success 200 {object} models.Response "{"code": 200, "data": [...]}"
// @Success 200 {object} app.Response "{"code": 200, "data": [...]}"
// @Router /api/v1/post/{postId} [get]
// @Security
func GetPost(c *gin.Context) {