Commit Graph
63 Commits
Author SHA1 Message Date
jinghui 721a2be32b feat(payment): integrate epay (易支付) gateway for CNY recharges
release / release (release) Canceled after 0s
- new EpayClient: V1 md5 signing, submit.php page pay, api.php order query
- create/verify epay payment links with CNY exchange-rate conversion
- signed async notify handler (/admin/payment/callback_epay) with amount
  check plus idempotent crediting, and a gateway query fallback
- epay channel config form, channel row and payment_method enum extended
- RechargeModal: send payment_method (was payment_channel, so every recharge
  fell through to Stripe and 500'd) and re-enable the channel picker
- payment config encryption key moved to a local .env, never committed
2026-11-13 15:17:05 +08:00
jinghui 1fbb6711f2 feat(submission): auto-publish approved submissions and expose review tab
- approving a submission now creates the McpService/McpToolApi records
- and records the published service id back on the submission
- review console folded into the admin console as a Submissions tab
- submit page rewritten around the shared submission API
2026-11-13 15:17:05 +08:00
jinghui d18adf035b feat(billing): per-service and platform-wide free call limits
release / release (release) Canceled after 0s
- mcp_service.free_daily_limit: per service, per user per day (NULL/0 = unlimited)
- sys_config free_global_daily_limit: applies to every free service
- effective limit = smaller of the two, so a service without its own value
  still inherits the global one
- admin: Pricing tab input, System Settings > Business > Free Call Limits
- submission review pages and endpoints (scaffolding, not yet published end to end)
- allow LAN IPs in http_utils, add docker-compose.yml
2026-11-13 10:20:25 +08:00
Liujian d0e7ed2771 Remove authentication checks from /api/common/config and /api/common/homepage 2026-02-26 10:26:00 +08:00
Liujian 07fe83b7b5 Fix: Removed permission verification from the user information retrieval interface. 2026-02-25 15:18:19 +08:00
Liujian 7f8947f070 Modify payment-related interface permissions 2026-02-14 11:23:50 +08:00
Liujian 6dca9b08cc API adds user role verification 2026-02-14 10:03:22 +08:00
Liujian 33d66e7d3b Optimize return prompt words 2026-01-29 18:26:06 +08:00
Liujian ffc09b7b83 Optimize return prompt words 2026-01-29 17:50:59 +08:00
Liujian 3c4e2be1dd Optimize return prompt words 2026-01-29 16:30:30 +08:00
Liujian 22fa608220 Added logic to disable IP login after repeated login failures 2026-01-28 19:14:07 +08:00
Liujian fef2e2a1f7 1. Optimized the issue of duplicate names in newly created resource groups
2. Fixed the issue of new users not being bound to the default resource group after logging in
2026-01-28 17:23:56 +08:00
Liujian fdbb077293 Merge remote-tracking branch 'origin/dev' into feature/1.4-liujian
# Conflicts:
#	services/admin_service/services/user_wallet_history_service.py
2026-01-28 13:57:45 +08:00
Liujian 10809113f4 finish 1.4 api 2026-01-28 13:56:14 +08:00
Liujian 915a2bcf9e The transaction list now includes "balance" and "description" fields. 2025-12-30 15:08:19 +08:00
Liujian 77ca12045d The system settings support setting the tag_bar_display variable. 2025-12-29 15:43:10 +08:00
Liujian 88325a0ba9 1. Users can view transaction data on the client side.
2. The MCP service list supports tag filtering.
2025-12-29 14:19:26 +08:00
Liujian e26e6a7f24 fix: domain check error 2025-12-23 14:16:04 +08:00
Liujian dab04242e6 Resource group service list sorted in descending order of creation time 2025-12-22 11:07:54 +08:00
Liujian a744f5a6c4 1. fix: No reject when input domain with special character like "test_domain.com"
2. fix: When updating service with "Update from OpenAPI" in Tools Management tab, Tool URL is removed, when reloading it is displayed again.
2025-12-17 19:05:44 +08:00
Liujian 924bee4a96 Optimize login failure message 2025-12-17 14:44:16 +08:00
Liujian 1c6773a95b Add an accessible service ID field to user information. 2025-12-16 17:44:25 +08:00
Liujian b00fca810d Added API:/api/mcp/service/resource_group/list/unbind 2025-12-16 14:45:45 +08:00
Liujian c5854a1d6f Added API: /api/resource_group/service/list/unbind 2025-12-16 14:31:28 +08:00
Liujian 61a313d8ff Service binding resource group related interfaces completed 2025-12-16 11:16:56 +08:00
Liujian 27f76d5cf0 update api: /api/mcp/service/list/simple 2025-12-15 18:14:51 +08:00
Liujian 6405713314 finish resource group api 2025-12-15 16:54:37 +08:00
Liujian b9123d68a0 Check if base_url is valid 2025-12-07 15:51:32 +08:00
Liujian eace543d74 Check if the price is a positive number. 2025-12-07 14:03:32 +08:00
Liujian 5023e4494c fix: The balance field has an incorrect data type; it should be Decimal. 2025-12-05 23:50:41 +09:00
Liujian e2ae502b48 fix bug:Admin upload image should support format GIF, SVG to update logo 2025-12-05 11:02:07 +09:00
Liujian a017b0fa93 repairing potential risks 2025-11-26 16:16:23 +08:00
Liujian 4826859152 Payment information encryption 2025-11-14 16:58:08 +08:00
Liujian f042cdf911 Add annotations and translate Chinese into English 2025-10-17 16:26:14 +08:00
Liujian 09704af14a fix system config bug 2025-10-16 15:28:52 +08:00
Liujian d49144afe9 finish stats analytics api 2025-10-16 11:16:41 +08:00
Liujian c949aac528 fix bug 2025-10-16 10:03:10 +08:00
Liujian c790fbef51 Synchronize mcp service api 2025-10-15 14:49:20 +08:00
Liujian a0b827b32e Synchronize system configuration related APIs 2025-10-14 18:04:02 +08:00
Liujian 5f621308ea add wxpay 2025-08-01 18:26:40 +08:00
Liujian 31e3b6b0a8 Change the frequency count to amount count 2025-07-31 17:25:23 +08:00
Liujian fc46e7b354 fix: pay channel bug 2025-07-31 11:41:49 +08:00
Dot.L 3a38426b13 Merge pull request #22 from xpack-ai/feature/0.3-backend
Support smooth upgrade
2025-07-30 19:52:46 +08:00
Liujian e42e5ad752 Support smooth upgrade 2025-07-30 19:48:13 +08:00
Dot.L 3012d27aae Merge pull request #16 from xpack-ai/feature/0.3-backend
tmp commit
2025-07-30 13:37:50 +08:00
Liujian dd3a784cb5 tmp commit 2025-07-30 13:36:50 +08:00
Dot.L 518d5f55c5 Merge pull request #15 from xpack-ai/feature/0.3-backend
Feature/0.3 backend
2025-07-30 11:36:30 +08:00
Liujian 923496735e Support billing based on input and output tokens 2025-07-30 11:35:51 +08:00
lidongjie 4016bb9d52 Merge branch 'feature/platform-reporting' 2025-07-30 10:49:19 +08:00
lidongjie bf9071122b feat: Add platform reporting service with fail-safe design
- Add PlatformReportService for reporting platform info to XPack official platform
- Implement non-blocking background reporting to avoid impacting main operations
- Add comprehensive error handling and timeout management
- Integrate platform reporting into system configuration update workflow
- Ensure reporting failures do not affect core business logic
- Support both synchronous and asynchronous reporting modes
- Add proper logging with appropriate levels for monitoring
2025-07-30 10:48:52 +08:00