增加日志
This commit is contained in:
parent
8f4d6f8035
commit
0ee4a5781b
|
|
@ -119,6 +119,10 @@ func (c *CpnRepoImpl) Query(ctx context.Context, orderWechat *bo.OrderBo) (vo.Or
|
||||||
|
|
||||||
func (c *CpnRepoImpl) QueryProduct(ctx context.Context, stockCreatorMchId, stockId string) (*cashcoupons.Stock, error) {
|
func (c *CpnRepoImpl) QueryProduct(ctx context.Context, stockCreatorMchId, stockId string) (*cashcoupons.Stock, error) {
|
||||||
|
|
||||||
|
if stockCreatorMchId == "" || stockId == "" {
|
||||||
|
return nil, err2.ErrorWechatFAIL("商户号或批次号不能为空")
|
||||||
|
}
|
||||||
|
|
||||||
client, err := c.GetClient(ctx)
|
client, err := c.GetClient(ctx)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue