Selaa lähdekoodia

alipay日志
shadow device bug fix

chenjunkai 6 vuotta sitten
vanhempi
commit
a8b7bb8ab8
2 muutettua tiedostoa jossa 1 lisäystä ja 4 poistoa
  1. 0 4
      Controller/EquipmentManager.py
  2. 1 0
      Service/TemplateService.py

+ 0 - 4
Controller/EquipmentManager.py

@@ -786,10 +786,6 @@ def update_device_shadow(request):
                 create_dict['cloud_vod'] = cloud_vod
             if push_status:
                 create_dict['push_status'] = push_status
-            if account:
-                create_dict['account'] = account
-            if password:
-                create_dict['password'] = password
             UidSetModel.objects.create(**create_dict)
             return JsonResponse(status=200, data={'code': 0, 'msg': 'success', 'data': {}})
     else:

+ 1 - 0
Service/TemplateService.py

@@ -52,6 +52,7 @@ class TemplateService:
             'cloudVod/filterVod',
             'cloudVod/findVod',
             'cloudVod/aliPayCreateOrder',
+            'cloudVod/aliPayCallback',
 
             'equipment/add',
             'deviceShare/queryUser',