fix: 更新获取VIP客户信息的API路径

将绝对路径从'/carwashorder/carwash_order/get_vip_customers.php'简化为'/get_vip_customers.php',同时保留原有相对路径选项作为后备
This commit is contained in:
2025-11-23 11:13:42 +08:00
parent 381350c649
commit db23555598
+1 -1
View File
@@ -743,7 +743,7 @@ $packages_json = json_encode(array_map(function($package) {
return new Promise((resolve, reject) => {
// 定义多个可能的API路径,优先使用绝对路径
const apiUrls = [
'/carwashorder/carwash_order/get_vip_customers.php', // 推荐的绝对路径
'/get_vip_customers.php', // 推荐的绝对路径
'get_vip_customers.php', // 原始相对路径
'./get_vip_customers.php' // 另一种相对路径
];