oak-cli/template/src/data/application.ts

33 lines
885 B
TypeScript
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.

import { CreateOperationData as Application } from 'oak-app-domain/Application/Schema';
import {
DEV_SYSTEM_ID,
DEV_WECHATMP_APPLICATION_ID,
DEV_WEB_APPLICATION_ID,
} from 'oak-general-business';
import Config from '../config';
export const applications: Application[] = [
{
id: DEV_WECHATMP_APPLICATION_ID,
name: Config.weChatMp.appName,
type: 'wechatMp',
systemId: DEV_SYSTEM_ID,
config: {
type: 'wechatMp',
appId: Config.weChatMp.appId,
appSecret: Config.weChatMp.appSecret,
},
description: '小程序应用指向dev_system',
},
{
id: DEV_WEB_APPLICATION_ID,
name: 'devWeb',
type: 'web',
systemId: DEV_SYSTEM_ID,
config: {
type: 'web',
},
description: 'web应用指向dev_system',
},
];