municipality
This commit is contained in:
@@ -99,6 +99,11 @@ const (
|
|||||||
//模板规则信息
|
//模板规则信息
|
||||||
IsDefaultYes = 1 //默认计价方式
|
IsDefaultYes = 1 //默认计价方式
|
||||||
IsDefaultNo = 0 //不是默认计价方式
|
IsDefaultNo = 0 //不是默认计价方式
|
||||||
|
//直辖市名称
|
||||||
|
MunicipalityBeiJin = "北京市"
|
||||||
|
MunicipalityShangHai = "上海市"
|
||||||
|
MunicipalityTianJin = "天津市"
|
||||||
|
MunicipalityChongQing = "重庆市"
|
||||||
|
|
||||||
//创建围栏信息
|
//创建围栏信息
|
||||||
//围栏形状
|
//围栏形状
|
||||||
|
|||||||
@@ -302,6 +302,19 @@ func TestGetAns(t *testing.T) {
|
|||||||
|
|
||||||
//运费模板
|
//运费模板
|
||||||
//创建运费模板
|
//创建运费模板
|
||||||
|
//func TestCreateFreightTemplate(t *testing.T) {
|
||||||
|
// param := &freightTemplate_create_request.FreightTemplateCreateParam{
|
||||||
|
// Template: &freightTemplate_create_request.Template{
|
||||||
|
// TemplateName: "这是一个测试固定运费模板",
|
||||||
|
// ProductProvince: utils.Str2Int64(utils.Int2Str(storeDetail.ProvinceCode)[:2]),
|
||||||
|
// ProductCity: int64(storeDetail.CityCode),
|
||||||
|
// CalculateType: 2, //计价方式-1.按重量 2.按数量
|
||||||
|
// TransferType: 1,
|
||||||
|
// RuleType: 1, //固定运费&卖家包邮
|
||||||
|
// FixedAmount: 500, //固定运费 单位:分
|
||||||
|
// },
|
||||||
|
// }
|
||||||
|
//}
|
||||||
|
|
||||||
//更新运费模板
|
//更新运费模板
|
||||||
func TestUpdateFreightTemplate(t *testing.T) {
|
func TestUpdateFreightTemplate(t *testing.T) {
|
||||||
|
|||||||
Reference in New Issue
Block a user