chore: update deploy guide doc

This commit is contained in:
email
2022-02-06 11:26:53 +08:00
parent ff5a1eebd7
commit 516ca61b73
3 changed files with 8 additions and 7 deletions

View File

@@ -100,6 +100,7 @@ func createResource(db *DB, create *api.ResourceCreate) (*api.Resource, error) {
func findResourceList(db *DB, find *api.ResourceFind) ([]*api.Resource, error) {
where, args := []string{"1 = 1"}, []interface{}{}
if v := find.Id; v != nil {
where, args = append(where, "id = ?"), append(args, *v)
}