chanjunkai 5 жил өмнө
parent
commit
258b6a950c
1 өөрчлөгдсөн 3 нэмэгдсэн , 3 устгасан
  1. 3 3
      controller/index.py

+ 3 - 3
controller/index.py

@@ -448,9 +448,9 @@ def testRunStream(request):
     except Exception as e:
         return repr(e)
     else:
-        # print("back0----", back[0].decode())  # 注意需要进行解码操作,默认输出的是字节
-        # print("back1----", back[1].decode())  # back是一个元祖,可以通过元祖取值的方式获取结果
-        #return str(back[0].decode()) + str(back[1].decode())
+        print("back0----", back[0].decode())  # 注意需要进行解码操作,默认输出的是字节
+        print("back1----", back[1].decode())  # back是一个元祖,可以通过元祖取值的方式获取结果
+        return str(back[0].decode()) + str(back[1].decode())
         return JsonResponse({'msg': "star is %s"%time1+",end is %s"%time2, 'code': 0})