- 将飞鹅的一些信息转化得更易懂
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user