plugin wx getSrv sync

This commit is contained in:
李子铭 2024-07-16 13:56:45 +08:00
parent 112d8a6f30
commit 37a3d07449
1 changed files with 2 additions and 4 deletions

View File

@ -38,15 +38,13 @@ func orderReq(order *proto.OrderRequest_Order, product *proto.OrderRequest_Produ
return cashcoupons.SendCouponRequest{}, fmt.Errorf("order extra json unmarshal error: %v", err)
}
}
c := cashcoupons.SendCouponRequest{
return cashcoupons.SendCouponRequest{
Openid: core.String(order.Account),
StockId: core.String(product.ProductNo),
OutRequestNo: core.String(order.OrderNo),
Appid: core.String(extra.Appid),
StockCreatorMchid: core.String(extra.StockCreatorMchid),
}
return c, nil
}, nil
}
func orderResp(order *proto.OrderRequest_Order, tradeNo string) *proto.OrderResponse {