添加服务申请记录

finance
黄伟 2 years ago
parent 58aae25cab
commit 0eadf431dc

@ -44,3 +44,31 @@ func (a *audit) Lists(ctx context.Context, args ArgsAuditLists) (reply ReplyAudi
err = xClient.Call(ctx, "Lists", args, &reply) err = xClient.Call(ctx, "Lists", args, &reply)
return return
} }
type ArgsHistory struct {
Page bean.Page
CustomerId uint
}
type ReplyHistoryLists struct {
Lists []HistoryItem `json:"lists"`
Total int64 `json:"total"`
}
type HistoryItem struct {
ServiceId uint `json:"serviceId"`
Remark string `json:"remark"`
ExpirationAt int64 `json:"expirationAt"`
ApplyAt int64 `json:"applyAt"`
AuditStatus uint `json:"auditStatus"`
}
// History @Title 服务申请记录
func (a *audit) History(ctx context.Context, args ArgsHistory) (reply ReplyHistoryLists, err error) {
xClient, err := client.GetClient(a)
if err != nil {
return
}
err = xClient.Call(ctx, "History", args, &reply)
return
}

Loading…
Cancel
Save