예제 #1
0
def test_push_mama_coupon_audit():
    from flashsale.coupon.models.transfer_coupon import CouponTransferRecord

    coupon_record = CouponTransferRecord.objects.first()
    print coupon_record.id
    push = WeixinPush()
    push.push_mama_coupon_audit(coupon_record)
예제 #2
0
def task_weixin_push_mama_coupon_audit(coupon_record):
    """
    精品券审核申请推送
    """
    from shopapp.weixin.apis import WeixinPush

    push = WeixinPush()
    push.push_mama_coupon_audit(coupon_record)