回调地址调整

This commit is contained in:
AKW 2023-12-15 09:30:38 +08:00
parent 69a1d3dac4
commit c50d1b56a7
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ logger = logging.getLogger('apps')
@shared_task(name='save_add_contact', queue='contact')
def save_add_contact(data, corpinfo, *args, **kwargs):
state = data.get('state')
if state and state.startswith('mg'):
if state and state.startswith('mg') and '_' in state:
[_, _, qrcodeid] = state.split('_')
data['qrcodeid'] = qrcodeid
# TODO 处理我们自己的活码