WechatQuery
This commit is contained in:
parent
9325bde2a3
commit
7cb8ee4202
|
|
@ -37,16 +37,16 @@ func (v *VoucherBiz) PushWechatQuery(ctx context.Context, req *do.WechatQuery) e
|
|||
|
||||
func (v *VoucherBiz) WechatQuery(ctx context.Context, msg string) error {
|
||||
|
||||
start := time.Now()
|
||||
log.Warnf("微信券查询处理开始:%s,msg:%s", start.String(), msg)
|
||||
fmt.Printf("微信券查询处理开始:%s,msg:%s", start.String(), msg)
|
||||
|
||||
var req *do.WechatQuery
|
||||
|
||||
if err := json.Unmarshal([]byte(msg), &req); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
start := time.Now()
|
||||
log.Warnf("微信券查询处理开始:%s,msg:%s", start.String(), msg)
|
||||
fmt.Printf("微信券查询处理开始:%s,msg:%s", start.String(), msg)
|
||||
|
||||
num := 0
|
||||
err := v.OrderRepo.FinSucByStockIdInBatches(ctx, req, func(ctx context.Context, rows []*bo.OrderBo) error {
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue