|
@@ -741,7 +741,7 @@ class AiView(View):
|
|
|
send_text = '{msg} channel:{channel} date:{date}'.format(msg=msg, channel=channel, date=n_date)
|
|
|
return send_text
|
|
|
|
|
|
- def do_jpush(self, uid, channel, appBundleId, token_val, event_type, n_time, msg_title, msg_text):
|
|
|
+ def do_jpush(self, uid, channel, appBundleId, token_val, event_type, n_time, msg_title, msg_text, msg_id=0):
|
|
|
app_key = JPUSH_CONFIG[appBundleId]['Key']
|
|
|
master_secret = JPUSH_CONFIG[appBundleId]['Secret']
|
|
|
# 此处换成各自的app_key和master_secre
|