Files
danyang-match/miniapp/services/index.js
T

38 lines
1.2 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/**
* services 层聚合入口(规范 §130-131)
*
* 页面与 Store 统一从这里导入业务服务,不直接 require utils/api,
* 也不直接 require 各子服务模块——便于后续替换实现或加日志埋点。
*
* 用法:
* const { authService, matchService } = require('../services');
* await authService.wechatLogin({ code });
*/
const authService = require('./authService');
const userService = require('./userService');
const profileService = require('./profileService');
const verificationService = require('./verificationService');
const recommendationService = require('./recommendationService');
const matchService = require('./matchService');
const messageService = require('./messageService');
const activityService = require('./activityService');
const matchmakerService = require('./matchmakerService');
const safetyService = require('./safetyService');
const appealService = require('./appealService');
const appConfigService = require('./appConfigService');
module.exports = {
authService,
userService,
profileService,
verificationService,
recommendationService,
matchService,
messageService,
activityService,
matchmakerService,
safetyService,
appealService,
appConfigService,
};