fix
This commit is contained in:
parent
1d8b4c9686
commit
d17b570d05
|
@ -18,7 +18,7 @@ export interface CompanyListRequest {
|
||||||
relation_genre?: number; // 关联关系类型: 1 成员企业、2 分销企业、3 供货企业
|
relation_genre?: number; // 关联关系类型: 1 成员企业、2 分销企业、3 供货企业
|
||||||
registered_start_at?: string; // 注册时间-开始,格式:2006-01-02 15:04:05
|
registered_start_at?: string; // 注册时间-开始,格式:2006-01-02 15:04:05
|
||||||
registered_end_at?: string; // 注册时间-结束格式:2006-01-02 15:04:05
|
registered_end_at?: string; // 注册时间-结束格式:2006-01-02 15:04:05
|
||||||
with_statistics?: bool; // 是否需要查询统计信息
|
with_statistics?: boolean; // 是否需要查询统计信息
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -83,7 +83,7 @@ export interface DeliveryAddressItem {
|
||||||
province_identity?: string; // 省级identity
|
province_identity?: string; // 省级identity
|
||||||
city_identity?: string; // 市级identity
|
city_identity?: string; // 市级identity
|
||||||
district_identity?: string; // 区级identity
|
district_identity?: string; // 区级identity
|
||||||
is_default?: bool;
|
is_default?: boolean;
|
||||||
created_at?: string;
|
created_at?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -131,7 +131,7 @@ export interface StaffListRequest {
|
||||||
status?: number;
|
status?: number;
|
||||||
registered_start_at?: string; // 注册时间-开始,格式:2006-01-02 15:04:05
|
registered_start_at?: string; // 注册时间-开始,格式:2006-01-02 15:04:05
|
||||||
registered_end_at?: string; // 注册时间-结束格式:2006-01-02 15:04:05
|
registered_end_at?: string; // 注册时间-结束格式:2006-01-02 15:04:05
|
||||||
with_statistics?: bool; // 是否需要查询统计信息
|
with_statistics?: boolean; // 是否需要查询统计信息
|
||||||
staff_identity?: string;
|
staff_identity?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -45,7 +45,7 @@ export interface GetRequest {
|
||||||
|
|
||||||
export interface GetReply {
|
export interface GetReply {
|
||||||
record?: FeedbackItem;
|
record?: FeedbackItem;
|
||||||
exists?: bool;
|
exists?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -15,12 +15,12 @@ export interface SmsSendRequest {
|
||||||
template_code?: string; // 必传项
|
template_code?: string; // 必传项
|
||||||
phone?: string; // 必传项
|
phone?: string; // 必传项
|
||||||
paramters?: { [key in string]: any};
|
paramters?: { [key in string]: any};
|
||||||
generate_code?: bool; // 验证码相关 是否生成验证码
|
generate_code?: boolean; // 验证码相关 是否生成验证码
|
||||||
expire_interval?: number; // 验证码缓存时间,单位:分钟,仅generate_code为true时会缓存,默认5分钟
|
expire_interval?: number; // 验证码缓存时间,单位:分钟,仅generate_code为true时会缓存,默认5分钟
|
||||||
code_width?: number; // 验证码长度,默认 4
|
code_width?: number; // 验证码长度,默认 4
|
||||||
code_key?: string; // template_code 模板中验证码的标识,默认code
|
code_key?: string; // template_code 模板中验证码的标识,默认code
|
||||||
has_black_list_filter?: bool; // 是否黑单过滤,默认不过滤
|
has_black_list_filter?: boolean; // 是否黑单过滤,默认不过滤
|
||||||
wihout_limit?: bool; // 忽略每天短信条数上线限制,默认不忽略
|
wihout_limit?: boolean; // 忽略每天短信条数上线限制,默认不忽略
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -36,5 +36,5 @@ export interface SmsVerifyRequest {
|
||||||
|
|
||||||
|
|
||||||
export interface PassResponse {
|
export interface PassResponse {
|
||||||
pass?: bool;
|
pass?: boolean;
|
||||||
}
|
}
|
|
@ -194,7 +194,7 @@ export interface ConfirmRequest {
|
||||||
address_id?: number; // 订单唯一码
|
address_id?: number; // 订单唯一码
|
||||||
coupon_identity?: string; // 优惠卷
|
coupon_identity?: string; // 优惠卷
|
||||||
remark?: string; // 备注
|
remark?: string; // 备注
|
||||||
logisticsFee?: TYPE_DOUBLE; // 运费
|
logisticsFee?: number; // 运费
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -255,10 +255,10 @@ func getFdType(fd *desc.FieldDescriptor) string {
|
||||||
switch fd.GetType().String() {
|
switch fd.GetType().String() {
|
||||||
case "TYPE_STRING":
|
case "TYPE_STRING":
|
||||||
return "string"
|
return "string"
|
||||||
case "TYPE_INT64", "TYPE_INT32", "TYPE_FLOAT32", "TYPE_FLOAT64":
|
case "TYPE_INT64", "TYPE_INT32", "TYPE_FLOAT32", "TYPE_FLOAT64", "TYPE_DOUBLE":
|
||||||
return "number"
|
return "number"
|
||||||
case "TYPE_BOOL":
|
case "TYPE_BOOL":
|
||||||
return "bool"
|
return "boolean"
|
||||||
case "TYPE_MESSAGE":
|
case "TYPE_MESSAGE":
|
||||||
return fd.GetMessageType().GetName()
|
return fd.GetMessageType().GetName()
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue