-- 店铺平台 OAuth 配置种子(其他配置页可改;已存在则跳过) INSERT INTO t_system_other_config (ConfigCode, ConfigName, Enabled, BaseUrl, AppKey, AppSecret, TimeoutSeconds, Remark, IsDeleted, CreateTime) SELECT 'platform_shop', '店铺授权-公共', 1, 'http://localhost:5173', NULL, NULL, 30, NULL, 0, NOW() WHERE NOT EXISTS (SELECT 1 FROM t_system_other_config WHERE ConfigCode = 'platform_shop' AND IsDeleted = 0); INSERT INTO t_system_other_config (ConfigCode, ConfigName, Enabled, BaseUrl, AppKey, AppSecret, TimeoutSeconds, Remark, IsDeleted, CreateTime) SELECT 'platform_shop_tiktok', '店铺授权-TikTok', 1, 'https://auth.tiktok-shops.com', '6hc64lc6vl312', '5a691a96ee6d844534769bab5c21de1f848fb678', 30, 'https://open-api.tiktokglobalshop.com', 0, NOW() WHERE NOT EXISTS (SELECT 1 FROM t_system_other_config WHERE ConfigCode = 'platform_shop_tiktok' AND IsDeleted = 0); INSERT INTO t_system_other_config (ConfigCode, ConfigName, Enabled, BaseUrl, AppKey, AppSecret, TimeoutSeconds, Remark, IsDeleted, CreateTime) SELECT 'platform_shop_temu', '店铺授权-Temu', 1, 'https://openapi-b-us.temu.com/openapi/router', '4ebbc9190ae410443d65b4c2faca981f', '4782d2d827276688bf4758bed55dbdd4bbe79a79', 30, NULL, 0, NOW() WHERE NOT EXISTS (SELECT 1 FROM t_system_other_config WHERE ConfigCode = 'platform_shop_temu' AND IsDeleted = 0); INSERT INTO t_system_other_config (ConfigCode, ConfigName, Enabled, BaseUrl, AppKey, AppSecret, TimeoutSeconds, Remark, IsDeleted, CreateTime) SELECT 'platform_shop_shopee', '店铺授权-Shopee', 1, 'https://partner.shopeemobile.com', '2004112', '2f385d7ea38b087d5d71f7292e06a09c9f19022ca6c3f60ec0110a8214ef7d65', 30, 'https://openplatform.shopee.cn', 0, NOW() WHERE NOT EXISTS (SELECT 1 FROM t_system_other_config WHERE ConfigCode = 'platform_shop_shopee' AND IsDeleted = 0); INSERT INTO t_system_other_config (ConfigCode, ConfigName, Enabled, BaseUrl, AppKey, AppSecret, TimeoutSeconds, Remark, IsDeleted, CreateTime) SELECT 'platform_shop_lazada', '店铺授权-Lazada', 1, 'https://auth.lazada.com/oauth/authorize', '123631', '7vBz2EaD6rIupeGEfwrgkabsTNsXt2ix', 30, 'https://auth.lazada.com/rest', 0, NOW() WHERE NOT EXISTS (SELECT 1 FROM t_system_other_config WHERE ConfigCode = 'platform_shop_lazada' AND IsDeleted = 0);