- 将飞鹅的一些信息转化得更易懂

This commit is contained in:
gazebo
2019-04-01 23:27:55 +08:00
parent 9b1dfe9684
commit c156fd0150
5 changed files with 100 additions and 23 deletions

View File

@@ -7,7 +7,7 @@ import (
)
func (a *API) OrderRatesGet(shopID string, baiduShopID int64, startTime, endTime time.Time, replyStatus int) (commentList []map[string]interface{}, err error) {
params := a.genShopIDParams(shopID, baiduShopID)
params := a.genShopIDParams(shopID, baiduShopID, 0)
if !utils.IsTimeZero(startTime) {
params["startTime"] = startTime
}
@@ -35,7 +35,7 @@ func (a *API) OrderRatesGet(shopID string, baiduShopID int64, startTime, endTime
}
func (a *API) OrderRatesReply(shopID string, baiduShopID int64, commentID, content string) (err error) {
params := a.genShopIDParams(shopID, baiduShopID)
params := a.genShopIDParams(shopID, baiduShopID, 0)
params["comment_id"] = commentID
params["content"] = content
_, err = a.AccessAPI("ugc.reply", params)