This commit is contained in:
邹宗楠
2025-07-21 09:20:04 +08:00
parent 287adae580
commit c068b8853b
4 changed files with 6 additions and 6 deletions

View File

@@ -328,7 +328,7 @@ func TestDeleteStoreSku(t *testing.T) {
}
func TestDeleteSku(t *testing.T) {
shopId := "667247"
shopId := "102433"
param1 := &SkuListParams{
Page: 1,
PageSize: 100,

View File

@@ -204,7 +204,7 @@ func (a *API) MerchantFeeChange(param *FeeChangeReq, customerNo string) (int64,
}
// UpdateSettleInfo 修改用户结算信息(当param为空时,是查询,不为空时是变更)
func (a *API) UpdateSettleInfo(customerNo string, param *UpdateSettleInfoReq) (*FeeChangeResp, *UpdateSettleInfoReq, error) {
func (a *API) UpdateSettleInfo(customerNo string, param *UpdateSettleInfoReq) (*CahngePublic, *UpdateSettleInfoReq, error) {
if customerNo == "" {
return nil, nil, fmt.Errorf("商户ID不能为空")
}
@@ -219,7 +219,7 @@ func (a *API) UpdateSettleInfo(customerNo string, param *UpdateSettleInfoReq) (*
return nil, nil, err
}
data := &FeeChangeResp{}
data := &CahngePublic{}
if err = utils.Map2StructByJson(result, data, false); err != nil {
return nil, nil, err
}

View File

@@ -12,7 +12,7 @@ import (
)
func TestCommentQuery(t *testing.T) {
result, err := api.CommentQuery("27674533", "20250426", "20250514", 0, 0, CommentReplyStatusAll)
result, err := api.CommentQuery("17896509", "20250716", "20250717", 0, 20, CommentReplyStatusAll)
if err != nil {
t.Fatal(err)
}

View File

@@ -20,13 +20,13 @@ func init() {
baseapi.Init(sugarLogger)
// 菜市
api = New("589", "a81eb3df418d83d6a1a4b7c572156d2f", "", "")
//api = New("589", "a81eb3df418d83d6a1a4b7c572156d2f", "", "")
// 果园
//api = New("4123", "df2c88338b85f830cebce2a9eab56628", "", "")
//商超
//api = New("5873", "41c479790a76f86326f89e8048964739", "", "token_lfakvRM4GLSa_VLMUIZDHA")
api = New("5873", "41c479790a76f86326f89e8048964739", "", "token_gsALm2N5YwK5MqJYgo5BHQ")
//cookieStr := `
// acctId=57396785; token=0bWbK5VbK50E2BmIhIH2zHB-am_y7mB37yXHm6RLZWx4*; wmPoiId=-1;
//`