Commit 62d8d565 authored by gaoming's avatar gaoming

finall

parent ca1b996f
...@@ -92,6 +92,10 @@ class PromotionChannel(models.Model): ...@@ -92,6 +92,10 @@ class PromotionChannel(models.Model):
appid = '{0}{1}'.format(appid,"_{0}".format(sub_name) if sub_name else "") appid = '{0}{1}'.format(appid,"_{0}".format(sub_name) if sub_name else "")
params.update({"appid":appid}) params.update({"appid":appid})
#如果callback_type不存在的话,默认为GET
params.update({'callback_type': CHANNEL_CALLBACK_TYPE.GET_CALLBACK.value[0]})
print(params) print(params)
#保存并记录 #保存并记录
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment