consumer模块完成95%,在和商家端对接聊天购物闭环

This commit is contained in:
2026-02-06 17:10:31 +08:00
parent 06b7369494
commit e2f1dfb097
1454 changed files with 5425 additions and 210555 deletions

12
check_table_exists.py Normal file
View File

@@ -0,0 +1,12 @@
import os
import requests
import json
SUPA_URL = "https://oxreipqjkbpjsszflgde.supabase.co/rest/v1"
SUPA_KEY = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Im94cmVpcXFqa2JwanNzemZsZ2RlIiwicm9sZSI6ImFub24iLCJpYXQiOjE3MzU4ODczMzUsImV4cCI6MjA1MTQ2MzMzNX0.sVjN8_f93yXWzJqA0iC7kHScg6PqH_jYkK3z3z3z3z3" # Placeholder, I will use valid key if I have it or try to find it.
# I don't have the key in the prompt history visible here, but I can see it in `verify_coupons.js` or `check_db_schema.py` likely if I read them.
# The user provided `check_db_coupons.py` and it failed with 401.
# So I likely cannot query the DB directly from here.
print("Checking checks...")