|
@@ -79,6 +79,7 @@ func (ht *HTMiniFacade) Collect(req facade.BaseRequest) (err error) {
|
|
|
resp, err := ht.Post(url, param, req.Auth)
|
|
|
if err != nil {
|
|
|
utils.FileLog.Error("收藏失败,err:%v,resp:%v", err, resp)
|
|
|
+ return
|
|
|
}
|
|
|
_, err = parseResult(resp)
|
|
|
return
|
|
@@ -96,6 +97,7 @@ func (ht *HTMiniFacade) UnCollect(req facade.BaseRequest) (err error) {
|
|
|
resp, err := ht.Post(url, param, req.Auth)
|
|
|
if err != nil {
|
|
|
utils.FileLog.Error("取消收藏失败,err:%v,resp:%v", err, resp)
|
|
|
+ return
|
|
|
}
|
|
|
_, err = parseResult(resp)
|
|
|
return
|