-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(generator): ApiTpl request/response params 初始化长度错误
- Loading branch information
Showing
34 changed files
with
213 additions
and
166 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
package alihouse | ||
import ( | ||
"github.com/bububa/opentaobao/model" | ||
) | ||
|
||
// EbbasItemDto | ||
type EbbasItemDto struct { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,55 @@ | ||
package axintrade | ||
|
||
// AxinFundDTO | ||
type AxinFundDTO struct { | ||
// 有效资金单列表 | ||
FundList []AxinFundDto `json:"fund_list,omitempty" xml:"fund_list>axin_fund_dto,omitempty"` | ||
// 已支付总金额 | ||
TotalPayedAmount int64 `json:"total_payed_amount,omitempty" xml:"total_payed_amount,omitempty"` | ||
// AxinFundDto | ||
type AxinFundDto struct { | ||
// 支付宝交易号 | ||
AlipayOrderId string `json:"alipay_order_id,omitempty" xml:"alipay_order_id,omitempty"` | ||
// 支付宝外部商户号 | ||
AlipayOuterId string `json:"alipay_outer_id,omitempty" xml:"alipay_outer_id,omitempty"` | ||
// 扩展属性 | ||
Attributes string `json:"attributes,omitempty" xml:"attributes,omitempty"` | ||
// 主键 | ||
Id int64 `json:"id,omitempty" xml:"id,omitempty"` | ||
// 订单ID | ||
OuterOrderId string `json:"outer_order_id,omitempty" xml:"outer_order_id,omitempty"` | ||
// 付款金额总额 | ||
PayFee int64 `json:"pay_fee,omitempty" xml:"pay_fee,omitempty"` | ||
// 正向资金单ID,仅在逆向资金单上使用 | ||
PayFundId int64 `json:"pay_fund_id,omitempty" xml:"pay_fund_id,omitempty"` | ||
// 支付订单号(即tp订单号或支付宝流水号) | ||
PayOrderId string `json:"pay_order_id,omitempty" xml:"pay_order_id,omitempty"` | ||
// 付款时间 | ||
PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"` | ||
// 付款方式 | ||
PayType int64 `json:"pay_type,omitempty" xml:"pay_type,omitempty"` | ||
// 支付方账号 | ||
PayerAccount string `json:"payer_account,omitempty" xml:"payer_account,omitempty"` | ||
// 支付方账号类型 | ||
PayerAccountType int64 `json:"payer_account_type,omitempty" xml:"payer_account_type,omitempty"` | ||
// 付款方账号id | ||
PayerAlipayId string `json:"payer_alipay_id,omitempty" xml:"payer_alipay_id,omitempty"` | ||
// 支付方昵称 | ||
PayerNick string `json:"payer_nick,omitempty" xml:"payer_nick,omitempty"` | ||
// 支付方淘宝ID | ||
PayerTid int64 `json:"payer_tid,omitempty" xml:"payer_tid,omitempty"` | ||
// 收款方账号 | ||
ReceiverAccount string `json:"receiver_account,omitempty" xml:"receiver_account,omitempty"` | ||
// 收款方账号类型 | ||
ReceiverAccountType int64 `json:"receiver_account_type,omitempty" xml:"receiver_account_type,omitempty"` | ||
// 收款方账号id | ||
ReceiverAlipayId string `json:"receiver_alipay_id,omitempty" xml:"receiver_alipay_id,omitempty"` | ||
// 收款方昵称 | ||
ReceiverNick string `json:"receiver_nick,omitempty" xml:"receiver_nick,omitempty"` | ||
// 收款方淘宝ID | ||
ReceiverTid int64 `json:"receiver_tid,omitempty" xml:"receiver_tid,omitempty"` | ||
// 请求版本号 | ||
ReqVersion string `json:"req_version,omitempty" xml:"req_version,omitempty"` | ||
// 二级商户smid | ||
Smid string `json:"smid,omitempty" xml:"smid,omitempty"` | ||
// 资金单状态 | ||
Status int64 `json:"status,omitempty" xml:"status,omitempty"` | ||
// 付款来源 | ||
TradeSource int64 `json:"trade_source,omitempty" xml:"trade_source,omitempty"` | ||
// 交易方式 | ||
TradeType int64 `json:"trade_type,omitempty" xml:"trade_type,omitempty"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
package baichuan | ||
|
||
// ASODeviceInfoDO | ||
type ASODeviceInfoDO struct { | ||
// idfa | ||
Idfa string `json:"idfa,omitempty" xml:"idfa,omitempty"` | ||
// AsoDeviceInfoDo | ||
type AsoDeviceInfoDo struct { | ||
// imei | ||
Imei string `json:"imei,omitempty" xml:"imei,omitempty"` | ||
// imsi | ||
Imsi string `json:"imsi,omitempty" xml:"imsi,omitempty"` | ||
// idfa | ||
Idfa string `json:"idfa,omitempty" xml:"idfa,omitempty"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
package baichuan | ||
import ( | ||
"github.com/bububa/opentaobao/model" | ||
) | ||
|
||
// IsvItemSubDo | ||
type IsvItemSubDo struct { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
package btrip | ||
import ( | ||
"github.com/bububa/opentaobao/model" | ||
) | ||
|
||
// HotelDto | ||
type HotelDto struct { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
package btrip | ||
|
||
// OpenUserAffiliateDO | ||
type OpenUserAffiliateDO struct { | ||
// 乘车人ID | ||
// OpenUserAffiliateDo | ||
type OpenUserAffiliateDo struct { | ||
// 出行人ID | ||
UserId string `json:"user_id,omitempty" xml:"user_id,omitempty"` | ||
// 乘车人名称 | ||
// 出行人名称 | ||
UserName string `json:"user_name,omitempty" xml:"user_name,omitempty"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,25 @@ | ||
package drugtrace | ||
|
||
// CodeRelationDTO | ||
type CodeRelationDTO struct { | ||
// 追溯码;查询的码 | ||
Code string `json:"code,omitempty" xml:"code,omitempty"` | ||
// 父码 | ||
ParentCode string `json:"parent_code,omitempty" xml:"parent_code,omitempty"` | ||
// 码级别 | ||
CodeLevel string `json:"code_level,omitempty" xml:"code_level,omitempty"` | ||
// 包装级别 | ||
CodePackLevel string `json:"code_pack_level,omitempty" xml:"code_pack_level,omitempty"` | ||
// 装箱数量;小盒码,返回1;中包码,返回实际小盒数量;大箱码,返回实际小盒数量 | ||
BoxAmount int64 `json:"box_amount,omitempty" xml:"box_amount,omitempty"` | ||
// 大箱或中包状态;若扫描的是小盒码,直接返回正常; 0-正常;1-拼箱;2-零箱;3-即拼箱又零箱 | ||
BoxStatus int64 `json:"box_status,omitempty" xml:"box_status,omitempty"` | ||
// 码状态 | ||
Status string `json:"status,omitempty" xml:"status,omitempty"` | ||
// CodeRelationDto | ||
type CodeRelationDto struct { | ||
// 激活信息 | ||
CodeActiveInfoDto *CodeActiveInfoDto `json:"code_active_info_dto,omitempty" xml:"code_active_info_dto,omitempty"` | ||
// 码关联关系 | ||
CodeRelationList []CodeInfo `json:"code_relation_list,omitempty" xml:"code_relation_list>code_info,omitempty"` | ||
// 是否是最小包装 | ||
IsSmallest string `json:"is_smallest,omitempty" xml:"is_smallest,omitempty"` | ||
// 药品包装信息 | ||
PkgInfoDto *PkgInfoDto `json:"pkg_info_dto,omitempty" xml:"pkg_info_dto,omitempty"` | ||
// 药品基础信息 | ||
BaseInfosDto *BaseInfosDto `json:"base_infos_dto,omitempty" xml:"base_infos_dto,omitempty"` | ||
// 生产信息 | ||
ProduceInfoList []ProduceInfoDto `json:"produce_info_list,omitempty" xml:"produce_info_list>produce_info_dto,omitempty"` | ||
// 激活信息 | ||
CodeActiveInfoDTO *CodeActiveInfoDto `json:"code_active_info_d_t_o,omitempty" xml:"code_active_info_d_t_o,omitempty"` | ||
// 药品包装信息 | ||
PkgInfoDTO *PkgInfoDto `json:"pkg_info_d_t_o,omitempty" xml:"pkg_info_d_t_o,omitempty"` | ||
// 药品基础信息 | ||
BaseInfosDTO *BaseInfosDto `json:"base_infos_d_t_o,omitempty" xml:"base_infos_d_t_o,omitempty"` | ||
// errorCodeContent | ||
ErrorCodeContent string `json:"error_code_content,omitempty" xml:"error_code_content,omitempty"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,15 @@ | ||
package einvoice | ||
|
||
// BillItemDo | ||
type BillItemDo struct { | ||
// BillItemDO | ||
type BillItemDO struct { | ||
// 价税合计 | ||
Amount string `json:"amount,omitempty" xml:"amount,omitempty"` | ||
// 商品名称 | ||
ItemName string `json:"item_name,omitempty" xml:"item_name,omitempty"` | ||
// 商品数量 | ||
Quantity string `json:"quantity,omitempty" xml:"quantity,omitempty"` | ||
// 价税合计,小数点后2两位 | ||
Amount string `json:"amount,omitempty" xml:"amount,omitempty"` | ||
// 规格型号,可选 | ||
Specification string `json:"specification,omitempty" xml:"specification,omitempty"` | ||
// 商品单位 | ||
Unit string `json:"unit,omitempty" xml:"unit,omitempty"` | ||
// 商品名称 | ||
ItemName string `json:"item_name,omitempty" xml:"item_name,omitempty"` | ||
// 1 折扣行 2被折扣行 0普通行 | ||
RowType int64 `json:"row_type,omitempty" xml:"row_type,omitempty"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,17 @@ | ||
package feedflow | ||
|
||
// AdgroupDto | ||
type AdgroupDto struct { | ||
// 单元名称 | ||
AdgroupName string `json:"adgroup_name,omitempty" xml:"adgroup_name,omitempty"` | ||
// 资源类位表 | ||
AdzoneList []AdzoneBindDto `json:"adzone_list,omitempty" xml:"adzone_list>adzone_bind_dto,omitempty"` | ||
// 计划id | ||
CampaignId int64 `json:"campaign_id,omitempty" xml:"campaign_id,omitempty"` | ||
// 定向人群 | ||
CrowdList []CrowdDto `json:"crowd_list,omitempty" xml:"crowd_list>crowd_dto,omitempty"` | ||
// 智能调价 | ||
// AdgroupDTo | ||
type AdgroupDTo struct { | ||
// 智能出价信息 | ||
IntelligentBid *IntelligentBidDto `json:"intelligent_bid,omitempty" xml:"intelligent_bid,omitempty"` | ||
// 商品id | ||
ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"` | ||
// 单元id | ||
AdgroupId int64 `json:"adgroup_id,omitempty" xml:"adgroup_id,omitempty"` | ||
// 单元名称 | ||
AdgroupName string `json:"adgroup_name,omitempty" xml:"adgroup_name,omitempty"` | ||
// 计划ID | ||
CampaignId int64 `json:"campaign_id,omitempty" xml:"campaign_id,omitempty"` | ||
// 状态 | ||
Status string `json:"status,omitempty" xml:"status,omitempty"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
package feedflow | ||
|
||
// LaunchPeriodDto | ||
type LaunchPeriodDto struct { | ||
// 列表 | ||
// LaunchPeriodDTO | ||
type LaunchPeriodDTO struct { | ||
// 时间 | ||
TimeSpanList []TimeSpanDto `json:"time_span_list,omitempty" xml:"time_span_list>time_span_dto,omitempty"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
package hotel | ||
import ( | ||
"github.com/bububa/opentaobao/model" | ||
) | ||
|
||
// RoomTypeInfo | ||
type RoomTypeInfo struct { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
package maitix | ||
|
||
// VenueDto | ||
type VenueDto struct { | ||
// VenueDTO | ||
type VenueDTO struct { | ||
// 场馆id | ||
Id int64 `json:"id,omitempty" xml:"id,omitempty"` | ||
// 纬度 | ||
Lat string `json:"lat,omitempty" xml:"lat,omitempty"` | ||
// 经度 | ||
Lng string `json:"lng,omitempty" xml:"lng,omitempty"` | ||
// 场馆名称 | ||
Name string `json:"name,omitempty" xml:"name,omitempty"` | ||
// 经度 | ||
Lng string `json:"lng,omitempty" xml:"lng,omitempty"` | ||
// 纬度 | ||
Lat string `json:"lat,omitempty" xml:"lat,omitempty"` | ||
// 场馆地址 | ||
VenueAddress string `json:"venue_address,omitempty" xml:"venue_address,omitempty"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.