@xw-tech/egg-xw-taobao
Version:
xw专用淘宝联盟cps接口二次业务封装
26 lines (21 loc) • 477 B
TypeScript
import TaobaoService from './lib/service';
interface EggCpsTaobaoClientOption {
appKey: string,
secret: string,
restUrl: string
}
interface EggCpsTaobaoClientsOption {
[clientName: string]: EggCpsTaobaoClientOption;
}
interface EggCpsTaobaoConfig {
default?: object;
app?: boolean;
agent?: boolean;
client?: EggCpsTaobaoClientsOption;
clients?: EggCpsTaobaoClientsOption;
}
declare module 'egg' {
interface Application {
taobao: TaobaoService
}
}