feat(receipt): 添加客户编号字段

- 在 Receipt 结构体中新增 CustomNumber 字段
- 用于存储客户的唯一标识信息
- 支持后续按客户编号查询和统计功能
This commit is contained in:
2025-12-19 16:58:39 +08:00
parent eb4c3e3241
commit 3c1fa079cf
5 changed files with 49 additions and 4 deletions

View File

@@ -140,3 +140,13 @@ func (r *request) Ik3cloud(ctx context.Context, requestId int64) (err error) {
reply := 0
return xClient.Call(ctx, "Ik3cloud", requestId, &reply)
}
// Cancel @TITLE 作废
func (r *request) Cancel(ctx context.Context, requestId int64) (err error) {
xClient, err := client.GetClient(r)
if err != nil {
return
}
reply := 0
return xClient.Call(ctx, "Cancel", requestId, &reply)
}