增加IOS渠道参数的判断

This commit is contained in:
wucao 2021-12-30 19:40:28 +08:00
parent 597636d050
commit 414632b354
2 changed files with 4 additions and 2 deletions

4
app.py
View File

@ -55,7 +55,9 @@ def run():
if event_name not in settings.legu_to_sm_event: if event_name not in settings.legu_to_sm_event:
continue continue
if 'shoumeng' not in (data.get('owner_name') or ''): # if 'shoumeng' not in (data.get('owner_name') or ''):
# continue
if 'shoumeng' not in data.get('owner_name') or 'smios' not in data.get('owner_name') or 'shouios' not in data.get('owner_name'):
continue continue
idx += 1 idx += 1

View File

@ -49,7 +49,7 @@ for i in range(len(dates) - 1):
if event_name not in settings.legu_to_sm_event: if event_name not in settings.legu_to_sm_event:
continue continue
if 'shoumeng' not in data.get('owner_name'): if 'shoumeng' not in data.get('owner_name') or 'smios' not in data.get('owner_name') or 'shouios' not in data.get('owner_name'):
continue continue
send_data = copy.deepcopy(settings.template_data) send_data = copy.deepcopy(settings.template_data)