Browse Source

去掉删除文件操作
kimi 兜底

罗俊辉 1 year ago
parent
commit
298687fdbd
2 changed files with 8 additions and 19 deletions
  1. 3 3
      applications/routes.py
  2. 5 16
      dev/test_v2.py

+ 3 - 3
applications/routes.py

@@ -43,9 +43,9 @@ def Routes(mysql_client):
         gh_id = params['ghId']
         trace_id = "search-{}-{}".format(str(uuid.uuid4()), str(int(time.time())))
         params['trace_id'] = trace_id
-        title = params['title'].split("@@")[-1]
-        contents = params['content']
-        account_name = params['accountName']
+        title = params['title'].split("@@")[-1].replace("'", "")
+        contents = params['content'].replace("'", "")
+        account_name = params['accountName'].replace("'", "")
         logging(
             code="2000",
             info="搜索视频内容接口请求成功",

File diff suppressed because it is too large
+ 5 - 16
dev/test_v2.py


Some files were not shown because too many files changed in this diff