piupuer / go-helper

go-helper
5 stars 6 forks source link

CreateApi 接口 #1

Open etscript opened 1 year ago

etscript commented 1 year ago

diff --git a/pkg/query/mysql_sys_api.go b/pkg/query/mysql_sys_api.go index 5794e8f..080d3f3 100644 --- a/pkg/query/mysql_sys_api.go +++ b/pkg/query/mysql_sysapi.go @@ -114,7 +114,7 @@ func (my MySql) FindApiGroupByCategoryByRoleKeyword(currentRoleKeyword, roleKeyw func (my MySql) CreateApi(r *req.CreateApi) (err error) { , span := tracer.Start(my.Ctx, tracing.Name(tracing.Db, "CreateApi")) defer span.End()

如果是 Path: api.Path, Method: api.Method,

api.Path 和 api.Method 都为空

piupuer commented 1 year ago

麻烦把问题描述清楚呢,我看不懂你想表达什么问题