|
@@ -21,6 +21,8 @@ CREATE TABLE `publish_content_miniprogram` (
|
|
|
KEY `idx_rootShareId` (`root_share_id`)
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='发布内容-插入小程序'
|
|
|
"""
|
|
|
+import json
|
|
|
+
|
|
|
import pymysql
|
|
|
from functions import RateDetail
|
|
|
|
|
@@ -47,6 +49,5 @@ def table_structure():
|
|
|
|
|
|
|
|
|
result = table_structure()
|
|
|
-success, s_r, fail, f_r, processing, p_rate, error_list = RateDetail().each_rate(result)
|
|
|
-for error in error_list:
|
|
|
- print(error)
|
|
|
+obj = RateDetail().rate_and_error_list(result_list=result)
|
|
|
+print(json.dumps(obj, ensure_ascii=False, indent=4))
|