wechat的endpoint
This commit is contained in:
parent
ef518fbdfc
commit
be741a5628
|
|
@ -1,4 +1,4 @@
|
|||
declare const _default: {
|
||||
wechat: import("oak-domain/lib/types").Endpoint<import("../general-app-domain").EntityDict, import("../types/RuntimeCxt").BRC>[];
|
||||
[x: string]: import("oak-domain/lib/types").Endpoint<import("../general-app-domain").EntityDict, import("../types/RuntimeCxt").BRC>;
|
||||
};
|
||||
export default _default;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,4 @@
|
|||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
var tslib_1 = require("tslib");
|
||||
var wechat_1 = tslib_1.__importDefault(require("./wechat"));
|
||||
exports.default = {
|
||||
wechat: wechat_1.default,
|
||||
};
|
||||
exports.default = tslib_1.__assign({}, wechat_1.default);
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import { Endpoint } from 'oak-domain/lib/types/Endpoint';
|
||||
import { EntityDict } from '../general-app-domain';
|
||||
import { BRC } from '../types/RuntimeCxt';
|
||||
declare const endpoints: Array<Endpoint<EntityDict, BRC>>;
|
||||
declare const endpoints: Record<string, Endpoint<EntityDict, BRC>>;
|
||||
export default endpoints;
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
var tslib_1 = require("tslib");
|
||||
var endpoints = [
|
||||
{
|
||||
var endpoints = {
|
||||
wechatApi: {
|
||||
name: '微信公众号回调接口',
|
||||
method: 'post',
|
||||
params: ['appId'],
|
||||
|
|
@ -14,5 +14,5 @@ var endpoints = [
|
|||
});
|
||||
}); },
|
||||
}
|
||||
];
|
||||
};
|
||||
exports.default = endpoints;
|
||||
|
|
|
|||
|
|
@ -2,5 +2,5 @@ import wechat from './wechat';
|
|||
|
||||
|
||||
export default {
|
||||
wechat,
|
||||
...wechat,
|
||||
};
|
||||
|
|
@ -2,8 +2,8 @@ import { Endpoint } from 'oak-domain/lib/types/Endpoint';
|
|||
import { EntityDict } from '../general-app-domain';
|
||||
import { BRC } from '../types/RuntimeCxt';
|
||||
|
||||
const endpoints: Array<Endpoint<EntityDict, BRC>> = [
|
||||
{
|
||||
const endpoints: Record<string, Endpoint<EntityDict, BRC>> = {
|
||||
wechatApi: {
|
||||
name: '微信公众号回调接口',
|
||||
method: 'post',
|
||||
params: ['appId'],
|
||||
|
|
@ -12,6 +12,6 @@ const endpoints: Array<Endpoint<EntityDict, BRC>> = [
|
|||
throw new Error('not implemented yet');
|
||||
},
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
export default endpoints;
|
||||
Loading…
Reference in New Issue