sysRoleApi.go
@@ -1,11 +1,10 @@ package bhomedbapi import ( json "github.com/json-iterator/go" jsoniter "github.com/json-iterator/go" ) type SysRoleApi struct { } func (api SysRoleApi) FindAll() (bool,interface{}) { @@ -17,6 +16,7 @@ return false,nil } var json = jsoniter.ConfigCompatibleWithStandardLibrary var res Result if err = json.Unmarshal(body, &res); err != nil { return false,nil