添加后台用户表直接分离
This commit is contained in:
@@ -89,26 +89,4 @@ func TestWetSetLogic(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
// 检查返回值中的 introduction 字段是否存在
|
||||
// intro := result.Get("introduction")
|
||||
// if !intro.Exists() {
|
||||
// t.Error("introduction is not exists")
|
||||
// }
|
||||
|
||||
// // 检查返回值中的 list 数组是否存在
|
||||
// list := result.Get("list")
|
||||
// if !list.Exists() {
|
||||
// t.Error("list is not exists")
|
||||
// }
|
||||
|
||||
// // 校验 list 数组中的每个条款 title 和 content 字段是否存在
|
||||
// for _, item := range list.Array() {
|
||||
// title := item.Get("title")
|
||||
// content := item.Get("content")
|
||||
// if !title.Exists() || !content.Exists() {
|
||||
// t.Error("title or content not exists")
|
||||
// log.Println(result)
|
||||
// continue
|
||||
// }
|
||||
// }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user