29 Commits

Author SHA1 Message Date
missish
5ad3202626 "feat(user/subscribe): 添加订阅折扣信息的JSON解析逻辑"
- 修复在续订时只能续订一个月
2025-06-01 14:20:57 +08:00
Chang lue Tsen
1a21984c27 feat(shadowsocks): SIP022 AEAD-2022 Ciphers 2025-05-31 10:46:28 -04:00
Chang lue Tsen
ddf740600f fix(subscribe): improve logging and update query logic for server filtering 2025-05-31 09:30:13 -04:00
missish
e0a4bb028b fix(admin/server): 修复节点更新时Tags字段处理逻辑
修改DeepCopy调用以忽略空值,并完善Tags字段的处理逻辑。当Tags为空数组时清空数据库字段,避免保留旧值。
2025-05-31 11:22:02 +08:00
missish
581e3ee48a refactor(tool): 为DeepCopy和ShallowCopy添加配置选项支持
为copy工具函数添加了CopyOption配置选项,允许调用方自定义复制行为。主要修改包括:
1. 新增CopyOption函数类型和CopyWithIgnoreEmpty选项
2. 修改DeepCopy和ShallowCopy函数签名以支持可变选项参数
3. 重构内部实现以应用传入的选项配置

这使得调用方可以灵活控制是否忽略空值等复制行为,增强了工具函数的可配置性。
2025-05-31 10:40:36 +08:00
missish
207ffc854e fix(order): 增加优惠券使用限制的条件判断 2025-05-27 21:15:17 +08:00
Darwin
5cca0e7aa3 fix(payment): update Stripe webhook endpoint url 2025-05-22 14:28:32 +08:00
Chang lue Tsen
155c6ba290 feat(adapter): add V2rayN adapter and build method for proxy management 2025-05-06 18:36:35 +09:00
Chang lue Tsen
f4050ff42e fix(model): update query logic to use OR for group_id filtering 2025-05-06 18:36:09 +09:00
Chang lue Tsen
ae784cbbe4 fix(server): enhance sorting logic to handle multiple entries and reorder correctly 2025-05-06 14:27:11 +09:00
Chang lue Tsen
a198c770db fix(server): update sorting logic to use FindOne and Update methods for better error handling 2025-05-06 14:07:46 +09:00
Chang lue Tsen
a2e4c6d09a fix(subscribe): add BeforeDelete and BeforeUpdate methods for sort handling 2025-05-06 13:29:39 +09:00
Chang lue Tsen
d6f5160be1 fix(server): remove reorderSort function to streamline server sorting logic 2025-05-06 13:26:59 +09:00
Chang lue Tsen
d5f14bf665 fix(server): simplify BeforeDelete method by removing unnecessary Model call 2025-05-06 13:25:38 +09:00
Chang lue Tsen
e625d9aed5 fix(server): update BeforeDelete method to use Model for sort update query 2025-05-06 13:24:20 +09:00
Chang lue Tsen
3cadd9e621 fix(server): refactor server model methods to support transaction handling 2025-05-06 13:21:27 +09:00
Chang lue Tsen
38bcacc9e7 fix(subscribe): update subscription availability check to allow status greater than 1 2025-05-06 12:05:33 +09:00
Chang lue Tsen
ea74e4b7d5 fix(subscribe): update subscription query to include zero expiration time condition 2025-05-06 11:49:21 +09:00
Chang lue Tsen
ead1a9a8a6 fix(subscribe): improve order details retrieval logic in resetUserSubscribeTokenLogic 2025-05-05 10:55:46 -04:00
Chang lue Tsen
aef567c06f fix(subscribe): update subscribe record update logic to use ID instead of token 2025-05-05 10:43:12 -04:00
Chang lue Tsen
c5b0507187 fix(subscribe): enhance server tag handling in subscription logic 2025-05-05 04:04:18 -04:00
Chang lue Tsen
9a1942f8cf fix(server): update server filtering to support multiple tags 2025-04-30 12:53:21 +09:00
Chang lue Tsen
f856dc7c01 fix(server): update server filtering to support multiple tags 2025-04-30 12:53:01 +09:00
Chang lue Tsen
cdc3d8b8f1 fix(subscribe): escape site name in content-disposition headers 2025-04-29 19:21:58 +09:00
Chang lue Tsen
dafe211ec7 fix(subscribe): add FinishedAt field to track subscription completion time 2025-04-28 11:18:53 -04:00
Chang lue Tsen
2aaf4cf618 fix(subscribe): improve query logic and handle status filtering 2025-04-28 18:59:06 +09:00
Chang lue Tsen
34c09c4618 refactor: update import paths from ppanel-server to server 2025-04-25 15:09:31 +09:00
Chang lue Tsen
52063049c5 fix: update version command to use constants for version and build time 2025-04-25 15:07:22 +09:00
Chang lue Tsen
8addcc584b init: 1.0.0 2025-04-25 12:08:29 +09:00