chanjunkai 5 éve
szülő
commit
b0a95e07b3
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      controller/index.py

+ 1 - 1
controller/index.py

@@ -420,7 +420,7 @@ def testRunSendStop(UID, PWD, MSG):
     else:
         print("back0----", back[0].decode())  # 注意需要进行解码操作,默认输出的是字节
         print("back1----", back[1].decode())  # back是一个元祖,可以通过元祖取值的方式获取结果
-        return True
+        return JsonResponse({'msg': 'stop yes', 'code': 0})
 
 
 '''