@@ -37,31 +37,31 @@ func CreateTemp(c *gin.Context) {
3737 apiList := [5 ]model.SysApi {
3838 {
3939 Path : "/" + a .Abbreviation + "/" + "create" + a .StructName ,
40- Description : "新增" + a .StructName ,
40+ Description : "新增" + a .Description ,
4141 ApiGroup : a .Abbreviation ,
4242 Method : "POST" ,
4343 },
4444 {
4545 Path : "/" + a .Abbreviation + "/" + "delete" + a .StructName ,
46- Description : "删除" + a .StructName ,
46+ Description : "删除" + a .Description ,
4747 ApiGroup : a .Abbreviation ,
4848 Method : "DELETE" ,
4949 },
5050 {
5151 Path : "/" + a .Abbreviation + "/" + "update" + a .StructName ,
52- Description : "更新" + a .StructName ,
52+ Description : "更新" + a .Description ,
5353 ApiGroup : a .Abbreviation ,
5454 Method : "PUT" ,
5555 },
5656 {
5757 Path : "/" + a .Abbreviation + "/" + "find" + a .StructName ,
58- Description : "根据ID获取" + a .StructName ,
58+ Description : "根据ID获取" + a .Description ,
5959 ApiGroup : a .Abbreviation ,
6060 Method : "GET" ,
6161 },
6262 {
6363 Path : "/" + a .Abbreviation + "/" + "get" + a .StructName + "List" ,
64- Description : "获取" + a .StructName + "列表" ,
64+ Description : "获取" + a .Description + "列表" ,
6565 ApiGroup : a .Abbreviation ,
6666 Method : "GET" ,
6767 },
0 commit comments