🚀 SFR API文档

📅 生成时间: 2025/12/25 18:52:59

🔧 基础模块 11 个模块

📋 类目管理

📁 sfrCategory 🔗 11 个API
🔧 SfrCategoryService - 类目服务
POST
api/sfrCategory/SfrCategoryService/createCategory 创建类目
GET
api/sfrCategory/SfrCategoryService/getCategory 获取类目信息
GET
api/sfrCategory/SfrCategoryService/getCategories 获取类目列表
PUT
api/sfrCategory/SfrCategoryService/updateCategory 更新类目信息
DELETE
api/sfrCategory/SfrCategoryService/deleteCategory 删除类目
GET
api/sfrCategory/SfrCategoryService/getCategoryTree 获取类目树
GET
api/sfrCategory/SfrCategoryService/getBusinessCategoryTree 获取业务类型的完整类目树
POST
api/sfrCategory/SfrCategoryService/batchCreateCategories 批量创建类目
GET
api/sfrCategory/SfrCategoryService/getChildCategories 获取子类目列表
PUT
api/sfrCategory/SfrCategoryService/moveCategory 移动类目
GET
api/sfrCategory/SfrCategoryService/getCategoryStats 获取类目统计信息

📋 配置管理

📁 sfrConfig 🔗 12 个API
🔧 SfrConfigService - 配置服务
GET
api/sfrConfig/SfrConfigService/getConfig 获取配置(支持单个或批量)
GET
api/sfrConfig/SfrConfigService/getUserConfig 获取用户自己的配置(必须校验userId,只能查看自己的数据)
POST
api/sfrConfig/SfrConfigService/setUserConfig 设置用户配置(保存到数据库,自动关联当前用户)
POST
api/sfrConfig/SfrConfigService/addConfigItem 添加单条配置项
POST
api/sfrConfig/SfrConfigService/updateConfigItem 更新单条配置项
POST
api/sfrConfig/SfrConfigService/upsertConfigItem 添加或更新配置项(推荐使用)
POST
api/sfrConfig/SfrConfigService/removeConfigItem 删除单条配置项
POST
api/sfrConfig/SfrConfigService/removeConfigItems 批量删除配置项
GET
api/sfrConfig/SfrConfigService/listConfigItems 分页查询配置项列表(支持搜索、排序)
GET
api/sfrConfig/SfrConfigService/getConfigItem 获取单条配置项
GET
api/sfrConfig/SfrConfigService/hasConfigItem 检查配置项是否存在
GET
api/sfrConfig/SfrConfigService/countConfigItems 统计配置项数量

📋 优惠券管理

📁 sfrCoupon 🔗 10 个API
🔧 SfrCouponService - 优惠券服务
POST
api/sfrCoupon/SfrCouponService/createCoupon 创建优惠券(仅管理员)
GET
api/sfrCoupon/SfrCouponService/getCoupon 获取优惠券详情
GET
api/sfrCoupon/SfrCouponService/getCoupons 获取优惠券列表
PUT
api/sfrCoupon/SfrCouponService/updateCoupon 更新优惠券信息(仅管理员)
DELETE
api/sfrCoupon/SfrCouponService/deleteCoupon 删除优惠券(仅管理员)
POST
api/sfrCoupon/SfrCouponService/issueCoupon 发放优惠券给指定用户(仅管理员)
POST
api/sfrCoupon/SfrCouponService/batchIssueCoupons 批量发放优惠券(仅管理员)
POST
api/sfrCoupon/SfrCouponService/checkCouponAvailability 检查优惠券可用性
GET
api/sfrCoupon/SfrCouponService/getUserCoupons 获取用户优惠券列表
POST
api/sfrCoupon/SfrCouponService/userReceiveCoupon 用户领取优惠券(自动查找所有符合条件的优惠券并发放)

📋 部门管理

📁 sfrDepartment 🔗 9 个API
🔧 SfrDepartmentService - 部门服务
POST
api/sfrDepartment/SfrDepartmentService/createDepartment 创建部门
GET
api/sfrDepartment/SfrDepartmentService/getDepartment 获取部门信息
GET
api/sfrDepartment/SfrDepartmentService/getDepartments 获取部门列表
PUT
api/sfrDepartment/SfrDepartmentService/updateDepartment 更新部门信息
DELETE
api/sfrDepartment/SfrDepartmentService/deleteDepartment 删除部门
GET
api/sfrDepartment/SfrDepartmentService/getDepartmentTree 获取部门树
POST
api/sfrDepartment/SfrDepartmentService/batchCreateDepartments 批量创建部门
GET
api/sfrDepartment/SfrDepartmentService/getChildDepartments 获取子部门列表
PUT
api/sfrDepartment/SfrDepartmentService/moveDepartment 移动部门

📋 会员管理

📁 sfrMember 🔗 10 个API
🔧 SfrMemberService - 会员服务
GET
api/sfrMember/SfrMemberService/getMemberPlans 获取会员套餐列表
GET
api/sfrMember/SfrMemberService/getMemberPlan 获取会员套餐详情
POST
api/sfrMember/SfrMemberService/createMemberPlan 创建会员套餐
PUT
api/sfrMember/SfrMemberService/updateMemberPlan 更新会员套餐
DELETE
api/sfrMember/SfrMemberService/deleteMemberPlan 删除会员套餐
GET
api/sfrMember/SfrMemberService/getAllMemberPlans 获取所有会员套餐(管理员)
GET
api/sfrMember/SfrMemberService/getCurrentMember 获取当前用户会员信息
GET
api/sfrMember/SfrMemberService/getMemberOrders 获取用户会员订单列表
POST
api/sfrMember/SfrMemberService/createMemberOrder 创建会员订单
POST
api/sfrMember/SfrMemberService/payMemberOrder 支付会员订单

📋 菜单管理

📁 sfrMenu 🔗 12 个API
🔧 SfrMenuService - 菜单服务
POST
api/sfrMenu/SfrMenuService/createMenu 创建菜单
GET
api/sfrMenu/SfrMenuService/getMenu 获取菜单信息
GET
api/sfrMenu/SfrMenuService/getMenus 获取菜单列表
PUT
api/sfrMenu/SfrMenuService/updateMenu 更新菜单信息
DELETE
api/sfrMenu/SfrMenuService/deleteMenu 删除菜单
GET
api/sfrMenu/SfrMenuService/getMenuTree 获取菜单树
POST
api/sfrMenu/SfrMenuService/batchCreateMenus 批量创建菜单
GET
api/sfrMenu/SfrMenuService/getChildMenus 获取子菜单列表
PUT
api/sfrMenu/SfrMenuService/moveMenu 移动菜单
GET
api/sfrMenu/SfrMenuService/getUserMenus 获取用户有权限的菜单树
POST
api/sfrMenu/SfrMenuService/assignMenusToRole 给角色分配菜单
GET
api/sfrMenu/SfrMenuService/getRoleMenus 获取角色的菜单列表

📋 权限管理

📁 sfrPermission 🔗 10 个API
🔧 SfrPermissionService - 权限服务
POST
api/sfrPermission/SfrPermissionService/createPermission 创建权限
GET
api/sfrPermission/SfrPermissionService/getPermission 获取权限信息
GET
api/sfrPermission/SfrPermissionService/getPermissions 获取权限列表
PUT
api/sfrPermission/SfrPermissionService/updatePermission 更新权限信息
DELETE
api/sfrPermission/SfrPermissionService/deletePermission 删除权限
POST
api/sfrPermission/SfrPermissionService/batchCreatePermissions 批量创建权限
GET
api/sfrPermission/SfrPermissionService/getPermissionTree 获取权限树
POST
api/sfrPermission/SfrPermissionService/checkUserPermission 检查用户权限
GET
api/sfrPermission/SfrPermissionService/getUserPermissions 获取用户权限列表
GET
api/sfrPermission/SfrPermissionService/getPermissionsByDepartment 根据部门获取权限

📋 角色管理

📁 sfrRole 🔗 9 个API
🔧 SfrRoleService - 角色服务
POST
api/sfrRole/SfrRoleService/createRole 创建角色
GET
api/sfrRole/SfrRoleService/getRole 获取角色信息
GET
api/sfrRole/SfrRoleService/getRoles 获取角色列表
PUT
api/sfrRole/SfrRoleService/updateRole 更新角色信息
DELETE
api/sfrRole/SfrRoleService/deleteRole 删除角色
POST
api/sfrRole/SfrRoleService/assignPermissions 分配权限给角色
GET
api/sfrRole/SfrRoleService/getDepartmentRoleTree 获取部门角色树
POST
api/sfrRole/SfrRoleService/batchCreateRoles 批量创建角色
GET
api/sfrRole/SfrRoleService/getUserRoles 获取用户角色列表

📋 租户管理

📁 sfrTenant 🔗 5 个API
🔧 SfrTenantService - 租户服务
POST
api/sfrTenant/SfrTenantService/createTenant 创建租户
GET
api/sfrTenant/SfrTenantService/getTenant 获取租户信息
GET
api/sfrTenant/SfrTenantService/getTenants 获取租户列表
PUT
api/sfrTenant/SfrTenantService/updateTenant 更新租户信息
DELETE
api/sfrTenant/SfrTenantService/deleteTenant 删除租户

📋 用户管理

📁 sfrUser 🔗 26 个API
🔧 AppleLoginService - 苹果登录服务
POST
api/sfrUser/AppleLoginService/appleLogin 苹果登录(Sign in with Apple)
🔧 LoginUserService - 用户认证服务
POST
api/sfrUser/LoginUserService/register 用户注册
POST
api/sfrUser/LoginUserService/login 用户登录
POST
api/sfrUser/LoginUserService/logout 用户登出
POST
api/sfrUser/LoginUserService/changePassword 修改密码
POST
api/sfrUser/LoginUserService/resetPassword 重置密码
GET
api/sfrUser/LoginUserService/checkToken 检查token有效性
POST
api/sfrUser/LoginUserService/smsLogin 手机号验证码登录
POST
api/sfrUser/LoginUserService/smsMultiTenantLogin 多租户手机号验证码登录(返回该手机号在所有租户下的账号和token)
POST
api/sfrUser/LoginUserService/sendSmsCode 发送短信验证码
POST
api/sfrUser/LoginUserService/univerifyLogin 一键登录(App本机号码)
🔧 MiniappLoginService - 小程序登录服务
POST
api/sfrUser/MiniappLoginService/wxLogin 微信登录
POST
api/sfrUser/MiniappLoginService/wxPhoneLogin 微信手机号快捷登录(getPhoneNumber)
🔧 OAuth2ProviderService - OAuth2服务
POST
api/sfrUser/OAuth2ProviderService/registerClient 注册OAuth应用
GET
api/sfrUser/OAuth2ProviderService/authorize 授权端点
POST
api/sfrUser/OAuth2ProviderService/token 令牌端点
GET
api/sfrUser/OAuth2ProviderService/userinfo 用户信息端点
POST
api/sfrUser/OAuth2ProviderService/generateClientToken 生成客户端访问令牌
🔧 SfrUserRoleService - 用户角色服务
POST
api/sfrUser/SfrUserRoleService/assignRoleToUser 分配角色给用户(支持多个角色,覆盖式分配)
POST
api/sfrUser/SfrUserRoleService/removeRolesFromUser 批量移除用户角色
GET
api/sfrUser/SfrUserRoleService/getUserRoleAssignments 获取用户角色关联列表
GET
api/sfrUser/SfrUserRoleService/getUsersByRole 获取角色下的用户列表
🔧 SfrUserService - 用户服务
GET
api/sfrUser/SfrUserService/getUser 获取用户信息
GET
api/sfrUser/SfrUserService/getUsers 获取用户列表
PUT
api/sfrUser/SfrUserService/updateByExt 更新用户扩展字段
🔧 WeixinMobileLoginService - 微信移动应用登录服务
POST
api/sfrUser/WeixinMobileLoginService/wxMobileLogin 微信开放平台移动应用登录

📋 用户等级管理

📁 sfrUserLevel 🔗 15 个API
🔧 SfrUserLevelExpService - 经验值计算服务
POST
api/sfrUserLevel/SfrUserLevelExpService/calculateExp 计算并更新用户经验值
🔧 SfrUserLevelRuleService - 经验值规则服务
POST
api/sfrUserLevel/SfrUserLevelRuleService/createRule 创建经验值规则
GET
api/sfrUserLevel/SfrUserLevelRuleService/getRules 获取规则列表
GET
api/sfrUserLevel/SfrUserLevelRuleService/getRule 获取规则详情
PUT
api/sfrUserLevel/SfrUserLevelRuleService/updateRule 更新规则配置
DELETE
api/sfrUserLevel/SfrUserLevelRuleService/deleteRule 删除规则配置
🔧 SfrUserLevelService - 等级配置服务
POST
api/sfrUserLevel/SfrUserLevelService/createLevel 创建等级配置
GET
api/sfrUserLevel/SfrUserLevelService/getLevels 获取等级列表
GET
api/sfrUserLevel/SfrUserLevelService/getLevel 获取等级详情
PUT
api/sfrUserLevel/SfrUserLevelService/updateLevel 更新等级配置
DELETE
api/sfrUserLevel/SfrUserLevelService/deleteLevel 删除等级配置
🔧 SfrUserLevelUserService - 用户等级服务
GET
api/sfrUserLevel/SfrUserLevelUserService/getUserLevel 获取用户等级信息
GET
api/sfrUserLevel/SfrUserLevelUserService/getUserLevels 获取用户等级列表(管理员)
GET
api/sfrUserLevel/SfrUserLevelUserService/getExpHistory 获取用户经验值历史记录
POST
api/sfrUserLevel/SfrUserLevelUserService/adjustExp 手动调整用户经验值(管理员)
🔗 第三方模块 4 个模块

📋 阿里云服务

📁 sfrAliyun 🔗 6 个API
🔧 AliyunAsrService - 语音识别服务
POST
api/sfrAliyun/AliyunAsrService/speechToText 语音转文字
🔧 AliyunOssService - 对象存储服务
POST
api/sfrAliyun/AliyunOssService/getStsToken 获取STS凭证
POST
api/sfrAliyun/AliyunOssService/getFileUrl 获取文件URL
🔧 AliyunSlsService - 日志服务
POST
api/sfrAliyun/AliyunSlsService/queryLogs 查询日志(仅管理员)
🔧 AliyunTtsService - 语音合成服务
POST
api/sfrAliyun/AliyunTtsService/textToSpeech 文字转语音
GET
api/sfrAliyun/AliyunTtsService/getTtsHistory 获取TTS历史记录

📋 Kimi智能服务

📁 sfrKimi 🔗 22 个API
🔧 AceKimiService - Ace数据处理Kimi服务
POST
api/sfrKimi/AceKimiService/enhanceJobEducation 补全岗位和学历信息
POST
api/sfrKimi/AceKimiService/cleanData 数据清洗和标准化
POST
api/sfrKimi/AceKimiService/enrichData 数据增强和丰富
POST
api/sfrKimi/AceKimiService/validateData 数据验证和检查
POST
api/sfrKimi/AceKimiService/transformData 数据转换和格式化
🔧 CnLexiconService - 语文字词服务
POST
api/sfrKimi/CnLexiconService/lookupByText 文本查询语文字词(需家庭实体权限与会员,传 entityId)
POST
api/sfrKimi/CnLexiconService/lookupByAttachments 附件查询语文字词(需家庭实体权限与会员,传 entityId)
🔧 EnLexiconService - 英语词典服务
POST
api/sfrKimi/EnLexiconService/lookupByText 文本查询英语词汇(释义中文,短语/例句英文,需家庭实体权限与会员,传 entityId)
POST
api/sfrKimi/EnLexiconService/lookupByAttachments 附件查询英语词汇(释义中文,短语/例句英文,需家庭实体权限与会员,传 entityId)
🔧 PhotoSolverService - 拍照解题服务
POST
api/sfrKimi/PhotoSolverService/solveByImage 通过图片解题(自动识别科目,需家庭实体权限与会员,传 entityId)
POST
api/sfrKimi/PhotoSolverService/solveByTextAndImage 通过图片+文字描述解题(自动识别科目,需家庭实体权限与会员,传 entityId,description 可选)
POST
api/sfrKimi/PhotoSolverService/recognizeWrongQuestion 错题识别(自动识别科目,需家庭实体权限与会员,传 entityId,description 可选,用于错题本)
🔧 SmallExpertKimiService - 作业小达人Kimi服务
POST
api/sfrKimi/SmallExpertKimiService/analyzeHomework 分析作业并结构化
POST
api/sfrKimi/SmallExpertKimiService/analyzeMultiSubjectHomework 分析多科目作业并按科目分组结构化
POST
api/sfrKimi/SmallExpertKimiService/extractKeyKnowledgePoints 提取重点知识点
POST
api/sfrKimi/SmallExpertKimiService/generateHomeworkAnswers 自动生成作业答案
POST
api/sfrKimi/SmallExpertKimiService/gradeHomeworkAnswer 评分作业答案
POST
api/sfrKimi/SmallExpertKimiService/generateFeedback 生成反馈意见
POST
api/sfrKimi/SmallExpertKimiService/convertHomeworkToStructure 作业文本转换为结构化数据
POST
api/sfrKimi/SmallExpertKimiService/validateWechatScreenshot 校验朋友圈截图是否包含作业小达人文字并激活会员
🔧 YyToolsService - 运营工具服务
POST
api/sfrKimi/YyToolsService/generateNote 生成图文笔记(适用于小红书、抖音等平台,需会员)
POST
api/sfrKimi/YyToolsService/extractDouyinCaption 提取抖音视频文案(需会员)

📋 支付管理

📁 sfrPayment 🔗 14 个API
🔧 SfrApplePaymentService - 苹果支付服务
POST
api/sfrPayment/SfrApplePaymentService/notifyApplePay 苹果支付回调
🔧 SfrHuaweiPaymentService - 华为IAP支付服务
POST
api/sfrPayment/SfrHuaweiPaymentService/verifyPurchase 验证购买凭证(HarmonyOS NEXT)
POST
api/sfrPayment/SfrHuaweiPaymentService/queryPaymentStatus 查询支付状态
POST
api/sfrPayment/SfrHuaweiPaymentService/handleHuaweiPayCallback 华为服务器回调通知
GET
api/sfrPayment/SfrHuaweiPaymentService/checkConfig 检查华为IAP配置
🔧 SfrPaymentService - 支付服务
POST
api/sfrPayment/SfrPaymentService/createPayment 创建支付(充值等无订单号场景)
GET
api/sfrPayment/SfrPaymentService/getPaymentStatus 查询支付状态
POST
api/sfrPayment/SfrPaymentService/createRefund 创建退款
GET
api/sfrPayment/SfrPaymentService/getPayments 查询支付记录列表
GET
api/sfrPayment/SfrPaymentService/getRefunds 查询退款记录列表
PUT
api/sfrPayment/SfrPaymentService/closePayment 关闭支付
🔧 SfrWechatPaymentService - 微信支付服务
POST
api/sfrPayment/SfrWechatPaymentService/createWechatPayment 创建微信支付
POST
api/sfrPayment/SfrWechatPaymentService/closeWechatPayment 关闭微信支付订单
POST
api/sfrPayment/SfrWechatPaymentService/notifyWeixinPay 微信支付回调

📋 微信服务

📁 sfrWeixin 🔗 5 个API
🔧 WeixinFuWuHaoService - 服务号服务
POST
api/sfrWeixin/WeixinFuWuHaoService/sendTemplateMessage 发送模板消息
🔧 WeixinXiaoChengXuService - 小程序服务
POST
api/sfrWeixin/WeixinXiaoChengXuService/sendSubscribeMessage 发送订阅消息
POST
api/sfrWeixin/WeixinXiaoChengXuService/getPhoneNumber 获取微信小程序用户手机号(新版API)
POST
api/sfrWeixin/WeixinXiaoChengXuService/getOpenIdByCode 通过授权码获取openid
POST
api/sfrWeixin/WeixinXiaoChengXuService/generateScheme 生成小程序 scheme 码(用于短信、邮件、外部网页等拉起小程序)
🏢 业务模块 17 个模块

📋 激活码管理

📁 sfrActivationCode 🔗 8 个API
🔧 SfrActivationCodeService - 激活码服务
POST
api/sfrActivationCode/SfrActivationCodeService/batchGenerateActivationCodes 批量生成激活码
POST
api/sfrActivationCode/SfrActivationCodeService/activateCode 激活码激活
GET
api/sfrActivationCode/SfrActivationCodeService/getActivationCode 查询激活码详情(管理员)
GET
api/sfrActivationCode/SfrActivationCodeService/getActivationCodes 查询激活码列表(管理员)
PUT
api/sfrActivationCode/SfrActivationCodeService/updateActivationCodeStatus 更新激活码状态(管理员)
GET
api/sfrActivationCode/SfrActivationCodeService/getActivationLogs 获取激活日志(管理员)
GET
api/sfrActivationCode/SfrActivationCodeService/getUserActivationHistory 获取用户激活历史
POST
api/sfrActivationCode/SfrActivationCodeService/validateActivationCode 验证激活码有效性

📋 文章管理

📁 sfrArticle 🔗 14 个API
🔧 SfrArticleService - 文章服务
POST
api/sfrArticle/SfrArticleService/createArticle 创建文章
PUT
api/sfrArticle/SfrArticleService/updateArticle 更新文章
DELETE
api/sfrArticle/SfrArticleService/deleteArticle 删除文章
POST
api/sfrArticle/SfrArticleService/getArticleDetail 获取文章详情
GET
api/sfrArticle/SfrArticleService/getArticleList 获取文章列表
POST
api/sfrArticle/SfrArticleService/publishArticle 发布文章
POST
api/sfrArticle/SfrArticleService/recordRead 记录阅读
GET
api/sfrArticle/SfrArticleService/getArticleStats 获取文章统计
POST
api/sfrArticle/SfrArticleService/searchArticles 搜索文章
GET
api/sfrArticle/SfrArticleService/getHotArticles 获取热门文章
GET
api/sfrArticle/SfrArticleService/getRecommendArticles 获取推荐文章
POST
api/sfrArticle/SfrArticleService/auditArticle 审核文章
POST
api/sfrArticle/SfrArticleService/batchOperation 批量操作文章
POST
api/sfrArticle/SfrArticleService/generateArticleFromImage 根据图片生成文章内容

📋 购物车管理

📁 sfrCart 🔗 9 个API
🔧 SfrCartService - 购物车服务
POST
api/sfrCart/SfrCartService/addToCart 添加商品到购物车
GET
api/sfrCart/SfrCartService/getCartItems 获取购物车列表
PUT
api/sfrCart/SfrCartService/updateCartItem 更新购物车项
DELETE
api/sfrCart/SfrCartService/removeCartItem 移除购物车项
DELETE
api/sfrCart/SfrCartService/clearCart 清空购物车
PUT
api/sfrCart/SfrCartService/selectCartItem 选择/取消选择购物车项
PUT
api/sfrCart/SfrCartService/batchUpdateCartItems 批量更新购物车项
GET
api/sfrCart/SfrCartService/getCartStats 获取购物车统计信息
POST
api/sfrCart/SfrCartService/batchAddToCart 批量添加商品到购物车

📋 评论管理

📁 sfrComment 🔗 14 个API
🔧 SfrCommentService - 评论服务
GET
api/sfrComment/SfrCommentService/getComments 获取评论列表
GET
api/sfrComment/SfrCommentService/getComment 获取评论详情
POST
api/sfrComment/SfrCommentService/createComment 创建评论
PUT
api/sfrComment/SfrCommentService/updateComment 更新评论
DELETE
api/sfrComment/SfrCommentService/deleteComment 删除评论
POST
api/sfrComment/SfrCommentService/replyComment 回复评论(支持多层嵌套)
PUT
api/sfrComment/SfrCommentService/updateReply 更新回复
DELETE
api/sfrComment/SfrCommentService/deleteReply 删除回复
POST
api/sfrComment/SfrCommentService/likeComment 点赞/取消点赞评论
GET
api/sfrComment/SfrCommentService/getCommentReplies 获取评论的回复列表(支持嵌套结构)
GET
api/sfrComment/SfrCommentService/getCommentStats 获取评论统计
GET
api/sfrComment/SfrCommentService/getPendingReplyCount 获取待回复评论数量
GET
api/sfrComment/SfrCommentService/getPendingReplyComments 获取待回复评论列表
PUT
api/sfrComment/SfrCommentService/reviewComment 审核评论

📋 页面组件管理

📁 sfrComponent 🔗 10 个API
🔧 SfrComponentService - 页面组件服务
GET
api/sfrComponent/SfrComponentService/getBanners 获取Banner列表
GET
api/sfrComponent/SfrComponentService/getBanner 获取Banner详情
POST
api/sfrComponent/SfrComponentService/createBanner 创建Banner
PUT
api/sfrComponent/SfrComponentService/updateBanner 更新Banner
DELETE
api/sfrComponent/SfrComponentService/deleteBanner 删除Banner
GET
api/sfrComponent/SfrComponentService/getDiamonds 获取金刚位列表
GET
api/sfrComponent/SfrComponentService/getDiamond 获取金刚位详情
POST
api/sfrComponent/SfrComponentService/createDiamond 创建金刚位
PUT
api/sfrComponent/SfrComponentService/updateDiamond 更新金刚位
DELETE
api/sfrComponent/SfrComponentService/deleteDiamond 删除金刚位

📋 数据处理管理

📁 sfrDataProcess 🔗 4 个API
🔧 SfrDataProcessService - 数据处理服务
POST
api/sfrDataProcess/SfrDataProcessService/processExcel 处理Excel文件(需要指定任务类型)
POST
api/sfrDataProcess/SfrDataProcessService/exportExcel 导出处理后的Excel文件
GET
api/sfrDataProcess/SfrDataProcessService/getTaskList 获取数据处理任务列表
GET
api/sfrDataProcess/SfrDataProcessService/getTaskDetail 获取任务详情

📋 实体管理

📁 sfrEntity 🔗 38 个API
🔧 SfrEntityClassInviteService - 班级邀请码服务
POST
api/sfrEntity/SfrEntityClassInviteService/generateClassInviteCode 生成班级邀请码
POST
api/sfrEntity/SfrEntityClassInviteService/joinClassByInviteCode 使用邀请码加入班级
GET
api/sfrEntity/SfrEntityClassInviteService/getClassInviteCodes 获取班级邀请码列表
GET
api/sfrEntity/SfrEntityClassInviteService/getClassMembers 获取班级成员列表
POST
api/sfrEntity/SfrEntityClassInviteService/removeStudentFromClass 从班级移除学生
🔧 SfrEntityPermissionService - 实体权限服务
PUT
api/sfrEntity/SfrEntityPermissionService/updatePermission 更新用户权限级别
POST
api/sfrEntity/SfrEntityPermissionService/grantPermission 授权用户访问实体
POST
api/sfrEntity/SfrEntityPermissionService/revokePermission 撤销用户权限
GET
api/sfrEntity/SfrEntityPermissionService/getEntityPermissions 获取实体的权限列表
GET
api/sfrEntity/SfrEntityPermissionService/getUserPermittedEntities 获取用户有权限的实体列表
POST
api/sfrEntity/SfrEntityPermissionService/generateInviteCode 生成邀请码
POST
api/sfrEntity/SfrEntityPermissionService/joinByInviteCode 使用邀请码加入
GET
api/sfrEntity/SfrEntityPermissionService/getInviteCodeInfo 获取邀请码信息
GET
api/sfrEntity/SfrEntityPermissionService/getEntityPermissionUsers 获取实体的所有权限用户列表(不分页)
GET
api/sfrEntity/SfrEntityPermissionService/getFamilyMemberStatus 获取家庭成员会员状态
🔧 SfrEntityService - 实体服务
POST
api/sfrEntity/SfrEntityService/createEntity 创建实体(小朋友/宠物等)
GET
api/sfrEntity/SfrEntityService/getEntity 获取单个实体信息
GET
api/sfrEntity/SfrEntityService/getEntities 获取实体列表
GET
api/sfrEntity/SfrEntityService/getEntitiesAll 获取实体列表(包含所有扩展字段,如收藏状态等)
PUT
api/sfrEntity/SfrEntityService/updateEntity 更新实体信息
DELETE
api/sfrEntity/SfrEntityService/deleteEntity 删除实体
🔧 SfrEntityTaskService - 实体作业服务
POST
api/sfrEntity/SfrEntityTaskService/assignHomeworkToEntities 老师批量布置作业(all或entityIds,服务端生成assignmentId)
POST
api/sfrEntity/SfrEntityTaskService/syncAssignedHomework 按assignmentId批量同步已布置记录(覆盖模板字段)
POST
api/sfrEntity/SfrEntityTaskService/deleteAssignedHomework 按assignmentId批量删除已布置记录
POST
api/sfrEntity/SfrEntityTaskService/createTeacherHomework 创建老师作业模板
POST
api/sfrEntity/SfrEntityTaskService/assignHomeworkFromTemplate 从模板批量下发到学生(assignmentId=homeworkId)
POST
api/sfrEntity/SfrEntityTaskService/createTask 创建作业
POST
api/sfrEntity/SfrEntityTaskService/appendTasks 追加作业任务(保留原有信息,仅追加)
GET
api/sfrEntity/SfrEntityTaskService/getTask 获取作业详情
PUT
api/sfrEntity/SfrEntityTaskService/updateTask 更新作业
POST
api/sfrEntity/SfrEntityTaskService/updateTasks 保存或更新作业(支持全量覆盖和部分字段更新)
DELETE
api/sfrEntity/SfrEntityTaskService/deleteTask 删除作业
DELETE
api/sfrEntity/SfrEntityTaskService/deletePeriodicTask 按科目+ID删除周期任务(物理删除)
GET
api/sfrEntity/SfrEntityTaskService/getEntityTasks 获取实体作业列表
GET
api/sfrEntity/SfrEntityTaskService/getTasksStats 获取任务统计信息(按日期分组)
GET
api/sfrEntity/SfrEntityTaskService/getEntityCompletionStats 获取实体完成统计信息(累计/月/周完成天数)
POST
api/sfrEntity/SfrEntityTaskService/incrementTaskCheckIn 更新任务连续打卡次数(支持多次打卡任务)
POST
api/sfrEntity/SfrEntityTaskService/deductTaskPoints 惩罚类打卡(打卡次数+1,同时扣除积分)

📋 邀请奖励

📁 sfrInvite 🔗 6 个API
🔧 SfrInviteService - 邀请奖励服务
POST
api/sfrInvite/SfrInviteService/recordInviteSuccess 记录邀请成功
GET
api/sfrInvite/SfrInviteService/getInviteStats 获取邀请统计
GET
api/sfrInvite/SfrInviteService/getInviteRecords 获取邀请记录列表
GET
api/sfrInvite/SfrInviteService/checkInviteRewardEligibility 检查邀请奖励资格
POST
api/sfrInvite/SfrInviteService/applyInviteReward 申请邀请奖励
GET
api/sfrInvite/SfrInviteService/getInviteRewardConfig 获取邀请奖励配置

📋 点赞收藏管理

📁 sfrLike 🔗 12 个API
🔧 SfrLikeService - 点赞收藏服务
POST
api/sfrLike/SfrLikeService/toggleLike 点赞/取消点赞
POST
api/sfrLike/SfrLikeService/toggleFavorite 收藏/取消收藏
GET
api/sfrLike/SfrLikeService/getUserLikes 获取用户的点赞列表
GET
api/sfrLike/SfrLikeService/getUserFavorites 获取用户的收藏列表
GET
api/sfrLike/SfrLikeService/getEntityLikeStats 获取实体的点赞统计
GET
api/sfrLike/SfrLikeService/getEntityFavoriteStats 获取实体的收藏统计
POST
api/sfrLike/SfrLikeService/checkLikeStatus 批量检查点赞状态
POST
api/sfrLike/SfrLikeService/checkFavoriteStatus 批量检查收藏状态
POST
api/sfrLike/SfrLikeService/createFavoriteFolder 创建收藏夹
GET
api/sfrLike/SfrLikeService/getUserFavoriteFolders 获取用户收藏夹列表
PUT
api/sfrLike/SfrLikeService/updateFavoriteFolder 更新收藏夹
DELETE
api/sfrLike/SfrLikeService/deleteFavoriteFolder 删除收藏夹

📋 订单管理

📁 sfrOrder 🔗 37 个API
🔧 SfrOrderConfigService - 订单配置服务
GET
api/sfrOrder/SfrOrderConfigService/getOrderConfig 获取订单配置
PUT
api/sfrOrder/SfrOrderConfigService/updateOrderConfig 更新订单配置
GET
api/sfrOrder/SfrOrderConfigService/getPaymentConfig 获取支付配置
PUT
api/sfrOrder/SfrOrderConfigService/updatePaymentConfig 更新支付配置
GET
api/sfrOrder/SfrOrderConfigService/getAllConfig 获取所有配置
POST
api/sfrOrder/SfrOrderConfigService/resetConfig 重置配置
🔧 SfrOrderPaymentService - 订单支付服务
POST
api/sfrOrder/SfrOrderPaymentService/createOrderPayment 创建订单支付
GET
api/sfrOrder/SfrOrderPaymentService/getPaymentStatus 查询支付状态
PUT
api/sfrOrder/SfrOrderPaymentService/cancelPayment 取消支付
POST
api/sfrOrder/SfrOrderPaymentService/applyRefund 申请退款
GET
api/sfrOrder/SfrOrderPaymentService/getPaymentHistory 获取支付记录
POST
api/sfrOrder/SfrOrderPaymentService/refreshPayment 刷新支付
GET
api/sfrOrder/SfrOrderPaymentService/getPaymentTimeout 获取支付超时配置
🔧 SfrOrderService - 商品订单服务
POST
api/sfrOrder/SfrOrderService/createOrder 创建商品订单
GET
api/sfrOrder/SfrOrderService/getOrder 获取商品订单详情
GET
api/sfrOrder/SfrOrderService/getShippingRules 获取运费规则配置
POST
api/sfrOrder/SfrOrderService/calculateShippingFee 计算运费预览
POST
api/sfrOrder/SfrOrderService/handlePaymentSuccess 处理商品订单支付成功回调
PUT
api/sfrOrder/SfrOrderService/updateOrderItems 更新订单商品(加菜/改菜,仅pending状态可用)
PUT
api/sfrOrder/SfrOrderService/updateStatus 更新订单状态(商家端:已付款->处理中->已发货->已送达)
PUT
api/sfrOrder/SfrOrderService/cancelOrder 取消商品订单
DELETE
api/sfrOrder/SfrOrderService/deleteOrder 删除商品订单
GET
api/sfrOrder/SfrOrderService/getAppointmentSlots 获取预约时间段
🔧 SfrServiceOrderService - 服务订单服务
POST
api/sfrOrder/SfrServiceOrderService/handlePaymentSuccess 处理服务订单支付成功回调
PUT
api/sfrOrder/SfrServiceOrderService/updateStatus 更新服务订单状态(商家端:待接单->待服务->服务中->已完成)
PUT
api/sfrOrder/SfrServiceOrderService/updateOrderItems 更新订单商品(加菜/改菜,仅pending状态可用)
PUT
api/sfrOrder/SfrServiceOrderService/cancelOrder 取消服务订单
GET
api/sfrOrder/SfrServiceOrderService/getOrder 获取服务订单详情
GET
api/sfrOrder/SfrServiceOrderService/getOrders 获取服务订单列表
DELETE
api/sfrOrder/SfrServiceOrderService/deleteOrder 删除服务订单(软删除,仅已完成/已取消可删)
🔧 SfrShippingRuleService - 运费规则服务
POST
api/sfrOrder/SfrShippingRuleService/createShippingRule 创建运费规则
GET
api/sfrOrder/SfrShippingRuleService/getShippingRules 获取运费规则列表
GET
api/sfrOrder/SfrShippingRuleService/getShippingRule 获取运费规则详情
PUT
api/sfrOrder/SfrShippingRuleService/updateShippingRule 更新运费规则
DELETE
api/sfrOrder/SfrShippingRuleService/deleteShippingRule 删除运费规则
POST
api/sfrOrder/SfrShippingRuleService/calculateShippingFee 计算运费
POST
api/sfrOrder/SfrShippingRuleService/importShippingRules 批量导入运费规则

📋 积分管理

📁 sfrPoint 🔗 25 个API
🔧 SfrPointExchangeService - 积分兑换服务
POST
api/sfrPoint/SfrPointExchangeService/createExchangeItem 创建兑换商品(支持全局和家庭奖励)
GET
api/sfrPoint/SfrPointExchangeService/getExchangeItems 获取兑换商品列表(支持家庭权限过滤)
GET
api/sfrPoint/SfrPointExchangeService/getExchangeItem 获取兑换商品详情
POST
api/sfrPoint/SfrPointExchangeService/exchangeItem 兑换商品
GET
api/sfrPoint/SfrPointExchangeService/getExchangeRecords 获取兑换记录
PUT
api/sfrPoint/SfrPointExchangeService/updateExchangeRecord 更新兑换记录状态(管理员)
POST
api/sfrPoint/SfrPointExchangeService/cancelExchange 取消兑换
GET
api/sfrPoint/SfrPointExchangeService/getExchangeStats 获取兑换统计(管理员)
POST
api/sfrPoint/SfrPointExchangeService/initPresetRewards 初始化预设奖励(管理员专用)
POST
api/sfrPoint/SfrPointExchangeService/resetPresetRewards 重置预设奖励(管理员专用)
DELETE
api/sfrPoint/SfrPointExchangeService/deleteCustomReward 删除自定义奖励
POST
api/sfrPoint/SfrPointExchangeService/createFamilyReward 创建家庭自定义奖励
GET
api/sfrPoint/SfrPointExchangeService/getFamilyRewards 获取指定实体的家庭奖励列表
PUT
api/sfrPoint/SfrPointExchangeService/updateExchangeItem 更新兑换商品信息
DELETE
api/sfrPoint/SfrPointExchangeService/deleteExchangeItem 删除兑换商品
🔧 SfrPointRecordService - 积分记录服务
POST
api/sfrPoint/SfrPointRecordService/deleteRecord 删除积分记录(需要写入权限)
GET
api/sfrPoint/SfrPointRecordService/findPointRecords 获取积分记录
GET
api/sfrPoint/SfrPointRecordService/calculatePointStats 获取积分统计
GET
api/sfrPoint/SfrPointRecordService/getExpiringPoints 获取即将过期的积分
POST
api/sfrPoint/SfrPointRecordService/processExpiredPoints 处理过期积分(定时任务)
🔧 SfrPointService - 积分账户服务
GET
api/sfrPoint/SfrPointService/getEntityPoints 获取实体积分余额
POST
api/sfrPoint/SfrPointService/addPoints 为实体增加积分
POST
api/sfrPoint/SfrPointService/deductPoints 扣除实体积分
POST
api/sfrPoint/SfrPointService/deletePoints 删除实体积分(家庭成员权限)
POST
api/sfrPoint/SfrPointService/transferPoints 转移实体间积分

📋 商品管理

📁 sfrProduct 🔗 23 个API
🔧 SfrProductService - 商品服务
POST
api/sfrProduct/SfrProductService/createProduct 创建商品
GET
api/sfrProduct/SfrProductService/getProduct 获取商品详情
GET
api/sfrProduct/SfrProductService/getProducts 获取商品列表
PUT
api/sfrProduct/SfrProductService/updateProduct 更新商品
DELETE
api/sfrProduct/SfrProductService/deleteProduct 删除商品
GET
api/sfrProduct/SfrProductService/searchProducts 搜索商品
GET
api/sfrProduct/SfrProductService/getRecommendProducts 获取推荐商品
GET
api/sfrProduct/SfrProductService/getCategoryProducts 获取分类商品
GET
api/sfrProduct/SfrProductService/getPointProducts 获取积分商品列表(支持通过类目筛选)
PUT
api/sfrProduct/SfrProductService/toggleProductStatus 上下架商品
🔧 SfrProductSkuService - 商品SKU服务
POST
api/sfrProduct/SfrProductSkuService/createSku 创建SKU
GET
api/sfrProduct/SfrProductSkuService/getSku 获取SKU详情
GET
api/sfrProduct/SfrProductSkuService/getSkus 获取SKU列表
PUT
api/sfrProduct/SfrProductSkuService/updateSku 更新SKU
DELETE
api/sfrProduct/SfrProductSkuService/deleteSku 删除SKU
POST
api/sfrProduct/SfrProductSkuService/batchCreateSkus 批量创建SKU
PUT
api/sfrProduct/SfrProductSkuService/updateSkuStock 更新SKU库存
GET
api/sfrProduct/SfrProductSkuService/checkSkuStock 检查SKU库存
GET
api/sfrProduct/SfrProductSkuService/getStockBySpecs 按规格查询库存
GET
api/sfrProduct/SfrProductSkuService/getSpecSelector 获取规格选择器数据
GET
api/sfrProduct/SfrProductSkuService/getRecommendedSkus 获取推荐SKU
🔧 SfrProductStockService - 商品库存服务
PUT
api/sfrProduct/SfrProductStockService/updateStock 更新库存
GET
api/sfrProduct/SfrProductStockService/getStockHistory 获取库存变更历史

📋 答题管理

📁 sfrQuiz 🔗 39 个API
🔧 SfrQuizQuestionService - 题目管理服务
POST
api/sfrQuiz/SfrQuizQuestionService/createQuestion 创建题目
POST
api/sfrQuiz/SfrQuizQuestionService/createQuestions 批量创建题目
PUT
api/sfrQuiz/SfrQuizQuestionService/updateQuestion 更新题目
DELETE
api/sfrQuiz/SfrQuizQuestionService/deleteQuestion 删除题目
GET
api/sfrQuiz/SfrQuizQuestionService/getQuestionById 按ID获取题目
GET
api/sfrQuiz/SfrQuizQuestionService/getQuestionList 获取题目列表
GET
api/sfrQuiz/SfrQuizQuestionService/getRandomQuestions 随机获取题目
POST
api/sfrQuiz/SfrQuizQuestionService/generateQuestionsWithKimi 使用Kimi生成题目
POST
api/sfrQuiz/SfrQuizQuestionService/importQuestions 导入题目
GET
api/sfrQuiz/SfrQuizQuestionService/exportQuestions 导出题目
POST
api/sfrQuiz/SfrQuizQuestionService/generateAndSaveQuestions 生成题目并直接入库
🔧 SfrQuizResultService - 答题结果服务
GET
api/sfrQuiz/SfrQuizResultService/getResult 获取答题结果
GET
api/sfrQuiz/SfrQuizResultService/getResultList 获取结果列表
GET
api/sfrQuiz/SfrQuizResultService/getStatistics 获取统计数据
GET
api/sfrQuiz/SfrQuizResultService/getLeaderboard 获取排行榜
POST
api/sfrQuiz/SfrQuizResultService/generateReport 生成答题报告
GET
api/sfrQuiz/SfrQuizResultService/exportResults 导出结果
GET
api/sfrQuiz/SfrQuizResultService/getWrongQuestions 获取错题本
POST
api/sfrQuiz/SfrQuizResultService/markQuestionAsMastered 标记题目为已掌握
🔧 SfrQuizService - 答题主服务
POST
api/sfrQuiz/SfrQuizService/createQuiz 创建题库
GET
api/sfrQuiz/SfrQuizService/getQuiz 获取题库详情
GET
api/sfrQuiz/SfrQuizService/getQuizList 获取题库列表
PUT
api/sfrQuiz/SfrQuizService/updateQuiz 更新题库
DELETE
api/sfrQuiz/SfrQuizService/deleteQuiz 删除题库
POST
api/sfrQuiz/SfrQuizService/startSession 开始答题会话
POST
api/sfrQuiz/SfrQuizService/submitAnswer 提交答案
POST
api/sfrQuiz/SfrQuizService/submitAnswers 批量提交答案
POST
api/sfrQuiz/SfrQuizService/completeSession 完成答题会话
GET
api/sfrQuiz/SfrQuizService/getProgress 获取答题进度
GET
api/sfrQuiz/SfrQuizService/getHistory 获取历史记录
🔧 SfrQuizSessionService - 答题会话服务
GET
api/sfrQuiz/SfrQuizSessionService/getSessionById 获取会话详情
GET
api/sfrQuiz/SfrQuizSessionService/getSessionList 获取会话列表
POST
api/sfrQuiz/SfrQuizSessionService/saveSession 暂存答题会话
POST
api/sfrQuiz/SfrQuizSessionService/cancelSession 删除答题会话
GET
api/sfrQuiz/SfrQuizSessionService/getCurrentQuestion 获取当前题目
POST
api/sfrQuiz/SfrQuizSessionService/goToQuestion 跳转到指定题目
GET
api/sfrQuiz/SfrQuizSessionService/getSessionProgress 获取答题进度
GET
api/sfrQuiz/SfrQuizSessionService/getSessionStats 获取会话统计信息
POST
api/sfrQuiz/SfrQuizSessionService/batchOperateSessions 批量操作会话

📋 招聘管理

📁 sfrRecruitment 🔗 19 个API
🔧 SfrJobApplicationService - 招聘申请服务
GET
api/sfrRecruitment/SfrJobApplicationService/getApplicationList 获取招聘申请列表(管理员视图)
PUT
api/sfrRecruitment/SfrJobApplicationService/updateApplicationStatus 更新申请状态
POST
api/sfrRecruitment/SfrJobApplicationService/scheduleInterview 安排面试
PUT
api/sfrRecruitment/SfrJobApplicationService/updateInterviewResult 更新面试结果
GET
api/sfrRecruitment/SfrJobApplicationService/getMyApplications 获取我的申请列表(用户视图)
GET
api/sfrRecruitment/SfrJobApplicationService/getApplicationStats 获取申请状态统计
🔧 SfrJobExamService - 招聘笔试服务
POST
api/sfrRecruitment/SfrJobExamService/createExam 创建笔试
PUT
api/sfrRecruitment/SfrJobExamService/updateExam 更新笔试
GET
api/sfrRecruitment/SfrJobExamService/getExam 获取笔试详情
DELETE
api/sfrRecruitment/SfrJobExamService/deleteExam 删除笔试
GET
api/sfrRecruitment/SfrJobExamService/getExams 获取笔试列表
🔧 SfrRecruitmentService - 招聘服务
POST
api/sfrRecruitment/SfrRecruitmentService/createJob 创建招聘岗位
GET
api/sfrRecruitment/SfrRecruitmentService/getJobDetail 获取招聘岗位详情
GET
api/sfrRecruitment/SfrRecruitmentService/getJobs 获取招聘岗位列表
PUT
api/sfrRecruitment/SfrRecruitmentService/updateJob 更新招聘岗位
DELETE
api/sfrRecruitment/SfrRecruitmentService/deleteJob 删除招聘岗位
POST
api/sfrRecruitment/SfrRecruitmentService/applyJob 投递简历
GET
api/sfrRecruitment/SfrRecruitmentService/getInterviewRecords 获取面试记录
POST
api/sfrRecruitment/SfrRecruitmentService/submitExam 提交笔试

📋 红点管理

📁 sfrRedDot 🔗 9 个API
🔧 SfrRedDotService - 红点服务
POST
api/sfrRedDot/SfrRedDotService/createRedDot 创建红点
POST
api/sfrRedDot/SfrRedDotService/batchCreateRedDots 批量创建红点
GET
api/sfrRedDot/SfrRedDotService/getRedDot 获取红点信息
GET
api/sfrRedDot/SfrRedDotService/getUserRedDots 获取用户红点列表
PUT
api/sfrRedDot/SfrRedDotService/markRedDotAsRead 标记红点为已读
PUT
api/sfrRedDot/SfrRedDotService/batchMarkRedDotsAsRead 批量标记红点为已读
DELETE
api/sfrRedDot/SfrRedDotService/deleteRedDot 删除红点
DELETE
api/sfrRedDot/SfrRedDotService/batchDeleteRedDots 批量删除红点
POST
api/sfrRedDot/SfrRedDotService/adminCreateRedDot 管理员创建红点(为指定用户)

📋 任务管理

📁 sfrTask 🔗 10 个API
🔧 SfrTaskService - 任务服务
POST
api/sfrTask/SfrTaskService/createTask 创建任务
GET
api/sfrTask/SfrTaskService/getTask 获取任务详情
GET
api/sfrTask/SfrTaskService/getTasks 获取任务列表
PUT
api/sfrTask/SfrTaskService/updateTask 更新任务
DELETE
api/sfrTask/SfrTaskService/deleteTask 删除任务
POST
api/sfrTask/SfrTaskService/applyTask 申请接单
GET
api/sfrTask/SfrTaskService/getUserApplications 获取用户申请的任务列表
GET
api/sfrTask/SfrTaskService/checkUserCanApply 检查用户是否可以申请任务
GET
api/sfrTask/SfrTaskService/getUserTaskStats 获取用户任务状态统计
PUT
api/sfrTask/SfrTaskService/completeTask 完成任务

📋 钱包管理

📁 sfrWallet 🔗 17 个API
🔧 SfrWalletBankCardService - 银行卡服务
POST
api/sfrWallet/SfrWalletBankCardService/createBankCard 添加银行卡
GET
api/sfrWallet/SfrWalletBankCardService/getBankCard 获取银行卡详情
GET
api/sfrWallet/SfrWalletBankCardService/getBankCards 获取银行卡列表
PUT
api/sfrWallet/SfrWalletBankCardService/updateBankCard 更新银行卡信息
DELETE
api/sfrWallet/SfrWalletBankCardService/deleteBankCard 删除银行卡
GET
api/sfrWallet/SfrWalletBankCardService/getUserBankCards 获取用户银行卡列表
PUT
api/sfrWallet/SfrWalletBankCardService/setDefaultBankCard 设置默认银行卡
🔧 SfrWalletService - 钱包服务
POST
api/sfrWallet/SfrWalletService/createWallet 创建钱包
GET
api/sfrWallet/SfrWalletService/getWallet 获取钱包信息
GET
api/sfrWallet/SfrWalletService/getWallets 获取钱包列表(管理员)
PUT
api/sfrWallet/SfrWalletService/updateWallet 更新钱包信息(管理员)
DELETE
api/sfrWallet/SfrWalletService/deleteWallet 删除钱包(管理员)
POST
api/sfrWallet/SfrWalletService/addBalance 增加钱包余额
POST
api/sfrWallet/SfrWalletService/deductBalance 扣减钱包余额
GET
api/sfrWallet/SfrWalletService/getUserWallet 获取用户钱包信息
GET
api/sfrWallet/SfrWalletService/getTransactions 获取钱包交易记录
GET
api/sfrWallet/SfrWalletService/getUserTransactions 获取用户交易记录