@@ -19,7 +19,7 @@ from statistic.models import ConsumeModelSaleStatisticInfo, ConsumeSaleStatistic |
||
| 19 | 19 |
from utils.error.errno_utils import (AdministratorStatusCode, OperatorStatusCode, ProductBrandStatusCode, |
| 20 | 20 |
ProductModelStatusCode, UserStatusCode) |
| 21 | 21 |
from utils.redis.connect import r |
| 22 |
-from utils.redis.rkeys import MINI_PROGRAM_GIS_LIST |
|
| 22 |
+from utils.redis.rkeys import MEMBER_SEND_COUPON_LIST, MINI_PROGRAM_GIS_LIST |
|
| 23 | 23 |
|
| 24 | 24 |
|
| 25 | 25 |
WECHAT = settings.WECHAT |
@@ -403,7 +403,7 @@ def consumer_info_api(request): |
||
| 403 | 403 |
if user.level < UserInfo.MEMBER_BLACK_GOLD: |
| 404 | 404 |
user.level += 1 |
| 405 | 405 |
# 发放会员权益 |
| 406 |
- r.rpushjson({
|
|
| 406 |
+ r.rpushjson(MEMBER_SEND_COUPON_LIST, {
|
|
| 407 | 407 |
'brand_id': brand.brand_id, |
| 408 | 408 |
'user_id': user_id, |
| 409 | 409 |
}) |
@@ -19,7 +19,7 @@ logger = logging.getLogger('console')
|
||
| 19 | 19 |
class Command(CompatibilityBaseCommand): |
| 20 | 20 |
def handle(self, *args, **options): |
| 21 | 21 |
|
| 22 |
- logger.info('Gis is dealing')
|
|
| 22 |
+ logger.info('Member coupon is dealing')
|
|
| 23 | 23 |
|
| 24 | 24 |
while True: |
| 25 | 25 |
# r.rpushjson('TEMPLET_CMD_KEY', {
|