Commit 6e306875 by 岳巧源

add platform

parent 98fb0b3a
Showing with 1 additions and 1 deletions
......@@ -65,7 +65,7 @@ def update_vc_class(conf: dict):
platform = 1
create_time = int(time.time())
# check if already exist.
check_sql = "select class_id from lie_shop_class where class_id = %s"
check_sql = "select class_id from lie_shop_class where class_id = %s and platform = 1"
cursor.execute(query=check_sql, args=(class_id,))
check_result = cursor.fetchall()
if len(check_result) > 0:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment