1
This commit is contained in:
@@ -901,13 +901,3 @@ type UploadMedia struct {
|
|||||||
RequireId int64 `json:"requireId"`
|
RequireId int64 `json:"requireId"`
|
||||||
MediaCode string `json:"mediaCode"`
|
MediaCode string `json:"mediaCode"`
|
||||||
}
|
}
|
||||||
|
|
||||||
//func (a *API) name() {
|
|
||||||
// byteData := utils.MustMarshal(images)
|
|
||||||
// _, err := a.AccessAPI2("retail/product/ruless", false, map[string]interface{}{"order_id": orderId, "media_list": string(byteData)}, "error_list", "")
|
|
||||||
// if err != nil {
|
|
||||||
// return err
|
|
||||||
// }
|
|
||||||
// return nil
|
|
||||||
// retail / product / ruless
|
|
||||||
//}
|
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
package mtwmapi
|
package mtwmapi
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"git.rosy.net.cn/baseapi"
|
"git.rosy.net.cn/baseapi"
|
||||||
@@ -63,7 +62,3 @@ func TestReviewAfterSales(t *testing.T) {
|
|||||||
OutOfStockItemIds: "",
|
OutOfStockItemIds: "",
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestName(t *testing.T) {
|
|
||||||
fmt.Println(utils.Str2Int64("4402239923717696174"))
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -467,7 +467,7 @@ func TestRetailList(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestRetailProductRules(t *testing.T) {
|
func TestRetailProductRules(t *testing.T) {
|
||||||
result, err := api.RetailProductRules(200002538)
|
result, err := api.RetailProductRules(200002831)
|
||||||
t.Log(utils.Format4Output(result, false))
|
t.Log(utils.Format4Output(result, false))
|
||||||
t.Log(err)
|
t.Log(err)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user