Browse Source

debug

master v0.8.4
guzeng 3 years ago
parent
commit
7b6bd0b8a4
1 changed files with 0 additions and 29 deletions
  1. +0
    -29
      fans.client.go

+ 0
- 29
fans.client.go View File

@ -11,34 +11,5 @@ import (
*/ */
func Fans(site_id, dbname, user_id, business_id string, url ...string) error { func Fans(site_id, dbname, user_id, business_id string, url ...string) error {
conn, err := rpc_server_conn(url...)
if err != nil {
return err
}
defer conn.Close()
data := FansReq{}
data.SiteId = site_id
data.Dbname = dbname
data.UserId = user_id
data.BusinessId = business_id
data_json, err := json.Marshal(data)
if err != nil {
return err
}
SetReqData(data)
res := &Response{}
err = conn.Fans(req, res)
if err != nil {
return err
}
_, err = GetResData(res)
return err return err
} }

Loading…
Cancel
Save