修正向量请求

This commit is contained in:
2023-11-27 16:36:21 +08:00
parent c7eb29db17
commit 06ff2e1e3b
4 changed files with 14 additions and 21 deletions

View File

@@ -108,7 +108,6 @@ type User struct {
// 获取一组用户信息
func QueryUserList(id_list []int) (users []User) {
fmt.Println("QueryUserList:", id_list)
count := len(id_list)
if count == 0 {
return
@@ -140,7 +139,6 @@ type Article struct {
// 获取一组文章信息
func QueryArticleList(id_list []int) (articles []Article) {
fmt.Println("QueryArticleList:", id_list)
count := len(id_list)
if count == 0 {
return