京东商城api
This commit is contained in:
20
platformapi/jdshopapi/store_page_test.go
Normal file
20
platformapi/jdshopapi/store_page_test.go
Normal file
@@ -0,0 +1,20 @@
|
||||
package jdshopapi
|
||||
|
||||
import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestCreateShopCategory(t *testing.T) {
|
||||
var CreateShopCategoryParams = []*CreateShopCategoryParam{
|
||||
&CreateShopCategoryParam{
|
||||
HomeShow: 0,
|
||||
ID: 0,
|
||||
Open: "",
|
||||
OrderNo: 0,
|
||||
ParentID: "",
|
||||
Title: "测试1",
|
||||
Type: 3,
|
||||
},
|
||||
}
|
||||
api.CreateShopCategory(CreateShopCategoryParams)
|
||||
}
|
||||
Reference in New Issue
Block a user