作者 Your Name

添加字段 OperatorTime

... ... @@ -11,6 +11,7 @@ type ContractChangeLogItem struct {
OperationType int `json:"operationType"`
Undertakers string `json:"undertakers"`
UpdatedAt string `json:"updatedAt"`
OperatorTime string `json:"operationTime"`
}
func ToContractChangeLogList(param *allied_creation_cooperation.DataContractChangeLogsSearch) []ContractChangeLogItem {
... ... @@ -25,6 +26,7 @@ func ToContractChangeLogList(param *allied_creation_cooperation.DataContractChan
OperationType: int(v.OperationType),
Undertakers: v.Undertakers,
UpdatedAt: v.UpdatedAt.Format("2006-01-02 15:04:05"),
OperatorTime: v.OperatorTime.Format("2006-01-02 15:04:05"),
}
listData = append(listData, item)
}
... ...