20 lines
701 B
TypeScript
20 lines
701 B
TypeScript
import { Application, ChannelService, FrontendSession, RemoterClass } from 'pinus';
|
|
import { setGmMails, getGmMailById, getGmMails } from '../../../pubUtils/gmData/gmDataUtil';
|
|
import { MAIL_TYPE, MAIL_TEM_TYPE } from "../../../consts/constModules/mailConst";
|
|
import { mailData } from "../../../pubUtils/interface";
|
|
import { getContent } from '../../../services/mailService';
|
|
import { findWhere } from 'underscore';
|
|
export default function (app: Application) {
|
|
return new GateRemote(app);
|
|
}
|
|
|
|
export class GateRemote {
|
|
|
|
constructor(private app: Application) {
|
|
this.app = app;
|
|
this.channelService = app.get('channelService');
|
|
}
|
|
|
|
private channelService: ChannelService;
|
|
|
|
} |