This commit is contained in:
邹宗楠
2025-09-19 11:50:06 +08:00
parent b545e4254b
commit 2a43a68a46
3 changed files with 4 additions and 4 deletions

View File

@@ -117,7 +117,7 @@ type SellerInfo struct {
func (a *API) QueryInvoiceSetting(baiduShopId []string) ([]*SettingList, error) {
parameter := make([]*StoreIdList, 0, len(baiduShopId))
for _, v := range baiduShopId {
parameter = append(parameter, &StoreIdList{BaiDuShopId: v, ShopId: "5000061"})
parameter = append(parameter, &StoreIdList{BaiDuShopId: v, ShopId: ""})
}
data, err := a.AccessAPI("invoice.settings.list", map[string]interface{}{"shop_list": parameter})