浏览代码

拼多多联盟

master
huangjiajun 7 个月前
父节点
当前提交
375ac321f7
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. +6
    -0
      zhimeng/own_pdd_goods.go

+ 6
- 0
zhimeng/own_pdd_goods.go 查看文件

@@ -27,6 +27,12 @@ func OwnPddSearchGoods(pid string, auth *model.SysUnionSet, postData map[string]
param["access_token"] = gjson.Get(auth.KeyData, "accessToken").String()
param["page"] = postData["p"]
param["page_size"] = postData["size"]
if postData["p"] == "" || postData["keyword"] == nil {
param["page"] = "1"
}
if postData["size"] == "" || postData["size"] == nil {
param["page_size"] = "1"
}
param["sort_type"] = "0"
param["pid"] = gjson.Get(auth.KeyData, "pid").String()
if postData["keyword"] != "" && postData["keyword"] != nil {


正在加载...
取消
保存