适配general中entities变化
This commit is contained in:
parent
9d8cac5193
commit
7edea95b78
|
|
@ -16,6 +16,7 @@ export const entityDesc = {
|
||||||
entityId: '关联对象id',
|
entityId: '关联对象id',
|
||||||
accounts: '关联账户',
|
accounts: '关联账户',
|
||||||
withdrawAccounts: '关联提现账户',
|
withdrawAccounts: '关联提现账户',
|
||||||
|
oldestVersion: '支持app最低版本',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,21 @@ export const desc = {
|
||||||
style: {
|
style: {
|
||||||
type: "object"
|
type: "object"
|
||||||
},
|
},
|
||||||
|
dangerousVersions: {
|
||||||
|
notNull: true,
|
||||||
|
type: "object"
|
||||||
|
},
|
||||||
|
warningVersions: {
|
||||||
|
notNull: true,
|
||||||
|
type: "object"
|
||||||
|
},
|
||||||
|
soaVersion: {
|
||||||
|
notNull: true,
|
||||||
|
type: "varchar",
|
||||||
|
params: {
|
||||||
|
length: 12
|
||||||
|
}
|
||||||
|
},
|
||||||
domainId: {
|
domainId: {
|
||||||
type: "ref",
|
type: "ref",
|
||||||
ref: "domain"
|
ref: "domain"
|
||||||
|
|
|
||||||
|
|
@ -75,6 +75,7 @@ export type NativeConfig = {
|
||||||
port: string;
|
port: string;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
type Versions = string[];
|
||||||
export type OpSchema = EntityShape & {
|
export type OpSchema = EntityShape & {
|
||||||
name: String<32>;
|
name: String<32>;
|
||||||
description?: Text | null;
|
description?: Text | null;
|
||||||
|
|
@ -82,6 +83,9 @@ export type OpSchema = EntityShape & {
|
||||||
systemId: ForeignKey<"system">;
|
systemId: ForeignKey<"system">;
|
||||||
config: WebConfig | WechatMpConfig | WechatPublicConfig | NativeConfig;
|
config: WebConfig | WechatMpConfig | WechatPublicConfig | NativeConfig;
|
||||||
style?: Style | null;
|
style?: Style | null;
|
||||||
|
dangerousVersions: Versions;
|
||||||
|
warningVersions: Versions;
|
||||||
|
soaVersion: String<12>;
|
||||||
domainId?: ForeignKey<"domain"> | null;
|
domainId?: ForeignKey<"domain"> | null;
|
||||||
} & {
|
} & {
|
||||||
[A in ExpressionKey]?: any;
|
[A in ExpressionKey]?: any;
|
||||||
|
|
@ -98,6 +102,9 @@ export type OpFilter = {
|
||||||
systemId: Q_StringValue;
|
systemId: Q_StringValue;
|
||||||
config: JsonFilter<WebConfig | WechatMpConfig | WechatPublicConfig | NativeConfig>;
|
config: JsonFilter<WebConfig | WechatMpConfig | WechatPublicConfig | NativeConfig>;
|
||||||
style: JsonFilter<Style>;
|
style: JsonFilter<Style>;
|
||||||
|
dangerousVersions: JsonFilter<Versions>;
|
||||||
|
warningVersions: JsonFilter<Versions>;
|
||||||
|
soaVersion: Q_StringValue;
|
||||||
domainId: Q_StringValue;
|
domainId: Q_StringValue;
|
||||||
} & ExprOp<OpAttr | string>;
|
} & ExprOp<OpAttr | string>;
|
||||||
export type OpProjection = {
|
export type OpProjection = {
|
||||||
|
|
@ -113,6 +120,9 @@ export type OpProjection = {
|
||||||
systemId?: number;
|
systemId?: number;
|
||||||
config?: number | JsonProjection<WebConfig | WechatMpConfig | WechatPublicConfig | NativeConfig>;
|
config?: number | JsonProjection<WebConfig | WechatMpConfig | WechatPublicConfig | NativeConfig>;
|
||||||
style?: number | JsonProjection<Style>;
|
style?: number | JsonProjection<Style>;
|
||||||
|
dangerousVersions?: number | JsonProjection<Versions>;
|
||||||
|
warningVersions?: number | JsonProjection<Versions>;
|
||||||
|
soaVersion?: number;
|
||||||
domainId?: number;
|
domainId?: number;
|
||||||
} & Partial<ExprOp<OpAttr | string>>;
|
} & Partial<ExprOp<OpAttr | string>>;
|
||||||
export type OpSortAttr = Partial<{
|
export type OpSortAttr = Partial<{
|
||||||
|
|
@ -124,7 +134,11 @@ export type OpSortAttr = Partial<{
|
||||||
description: number;
|
description: number;
|
||||||
type: number;
|
type: number;
|
||||||
style: number;
|
style: number;
|
||||||
|
dangerousVersions: number;
|
||||||
|
warningVersions: number;
|
||||||
|
soaVersion: number;
|
||||||
[k: string]: any;
|
[k: string]: any;
|
||||||
} | ExprOp<OpAttr | string>>;
|
} | ExprOp<OpAttr | string>>;
|
||||||
export type OpAction = OakMakeAction<GenericAction | string>;
|
export type OpAction = OakMakeAction<GenericAction | string>;
|
||||||
export type OpUpdateAction = "update" | string;
|
export type OpUpdateAction = "update" | string;
|
||||||
|
export {};
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
export {};
|
||||||
|
|
@ -8,7 +8,10 @@
|
||||||
"config": "设置",
|
"config": "设置",
|
||||||
"style": "样式",
|
"style": "样式",
|
||||||
"sessions": "会话",
|
"sessions": "会话",
|
||||||
"domain": "域名"
|
"domain": "域名",
|
||||||
|
"dangerousVersions": "强制升级版本",
|
||||||
|
"warningVersions": "建议升级版本",
|
||||||
|
"soaVersion": "最新发布版本"
|
||||||
},
|
},
|
||||||
"v": {
|
"v": {
|
||||||
"type": {
|
"type": {
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,12 @@ export const desc = {
|
||||||
notNull: true,
|
notNull: true,
|
||||||
type: "object"
|
type: "object"
|
||||||
},
|
},
|
||||||
|
oldestVersion: {
|
||||||
|
type: "varchar",
|
||||||
|
params: {
|
||||||
|
length: 32
|
||||||
|
}
|
||||||
|
},
|
||||||
style: {
|
style: {
|
||||||
type: "object"
|
type: "object"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@ export type OpSchema = EntityShape & {
|
||||||
name: String<32>;
|
name: String<32>;
|
||||||
description?: Text | null;
|
description?: Text | null;
|
||||||
config: Config;
|
config: Config;
|
||||||
|
oldestVersion?: String<32> | null;
|
||||||
style?: Style | null;
|
style?: Style | null;
|
||||||
entity?: String<32> | null;
|
entity?: String<32> | null;
|
||||||
entityId?: String<64> | null;
|
entityId?: String<64> | null;
|
||||||
|
|
@ -24,6 +25,7 @@ export type OpFilter = {
|
||||||
name: Q_StringValue;
|
name: Q_StringValue;
|
||||||
description: Q_StringValue;
|
description: Q_StringValue;
|
||||||
config: JsonFilter<Config>;
|
config: JsonFilter<Config>;
|
||||||
|
oldestVersion: Q_StringValue;
|
||||||
style: JsonFilter<Style>;
|
style: JsonFilter<Style>;
|
||||||
entity: Q_StringValue;
|
entity: Q_StringValue;
|
||||||
entityId: Q_StringValue;
|
entityId: Q_StringValue;
|
||||||
|
|
@ -38,6 +40,7 @@ export type OpProjection = {
|
||||||
name?: number;
|
name?: number;
|
||||||
description?: number;
|
description?: number;
|
||||||
config?: number | JsonProjection<Config>;
|
config?: number | JsonProjection<Config>;
|
||||||
|
oldestVersion?: number;
|
||||||
style?: number | JsonProjection<Style>;
|
style?: number | JsonProjection<Style>;
|
||||||
entity?: number;
|
entity?: number;
|
||||||
entityId?: number;
|
entityId?: number;
|
||||||
|
|
@ -50,6 +53,7 @@ export type OpSortAttr = Partial<{
|
||||||
name: number;
|
name: number;
|
||||||
description: number;
|
description: number;
|
||||||
config: number;
|
config: number;
|
||||||
|
oldestVersion: number;
|
||||||
style: number;
|
style: number;
|
||||||
entity: number;
|
entity: number;
|
||||||
entityId: number;
|
entityId: number;
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
export {};
|
||||||
|
|
@ -6,7 +6,8 @@
|
||||||
"config": "设置",
|
"config": "设置",
|
||||||
"style": "样式",
|
"style": "样式",
|
||||||
"entity": "关联对象",
|
"entity": "关联对象",
|
||||||
"entityId": "关联对象id"
|
"entityId": "关联对象id",
|
||||||
|
"oldestVersion": "支持app最低版本"
|
||||||
},
|
},
|
||||||
"r": {
|
"r": {
|
||||||
"owner": "拥有者",
|
"owner": "拥有者",
|
||||||
|
|
|
||||||
|
|
@ -19,21 +19,26 @@ export const desc = {
|
||||||
type: "ref",
|
type: "ref",
|
||||||
ref: "platform"
|
ref: "platform"
|
||||||
},
|
},
|
||||||
folder // 提现的loss在用户提现时计算
|
folder: {
|
||||||
: {
|
|
||||||
type: "varchar",
|
type: "varchar",
|
||||||
params: {
|
params: {
|
||||||
length: 16
|
length: 16
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
super: {
|
oldestVersion: {
|
||||||
|
type: "varchar",
|
||||||
|
params: {
|
||||||
|
length: 32
|
||||||
|
}
|
||||||
|
},
|
||||||
|
super // 如果为true,则按照渠道taxLossRatio和refundCompensateRatio进行扣取(如果因为depositLossRatio已经大于taxLossRatio,则全额退款)
|
||||||
|
: {
|
||||||
type: "boolean"
|
type: "boolean"
|
||||||
},
|
},
|
||||||
style: {
|
style: {
|
||||||
type: "object"
|
type: "object"
|
||||||
},
|
},
|
||||||
entity // 如果为true,则按照渠道taxLossRatio和refundCompensateRatio进行扣取(如果因为depositLossRatio已经大于taxLossRatio,则全额退款)
|
entity: {
|
||||||
: {
|
|
||||||
type: "varchar",
|
type: "varchar",
|
||||||
params: {
|
params: {
|
||||||
length: 32
|
length: 32
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,7 @@ export type OpSchema = EntityShape & {
|
||||||
config: Config;
|
config: Config;
|
||||||
platformId?: ForeignKey<"platform"> | null;
|
platformId?: ForeignKey<"platform"> | null;
|
||||||
folder?: String<16> | null;
|
folder?: String<16> | null;
|
||||||
|
oldestVersion?: String<32> | null;
|
||||||
super?: Boolean | null;
|
super?: Boolean | null;
|
||||||
style?: Style | null;
|
style?: Style | null;
|
||||||
entity?: String<32> | null;
|
entity?: String<32> | null;
|
||||||
|
|
@ -44,6 +45,7 @@ export type OpFilter = {
|
||||||
config: JsonFilter<Config>;
|
config: JsonFilter<Config>;
|
||||||
platformId: Q_StringValue;
|
platformId: Q_StringValue;
|
||||||
folder: Q_StringValue;
|
folder: Q_StringValue;
|
||||||
|
oldestVersion: Q_StringValue;
|
||||||
super: Q_BooleanValue;
|
super: Q_BooleanValue;
|
||||||
style: JsonFilter<Style>;
|
style: JsonFilter<Style>;
|
||||||
entity: Q_StringValue;
|
entity: Q_StringValue;
|
||||||
|
|
@ -62,6 +64,7 @@ export type OpProjection = {
|
||||||
config?: number | JsonProjection<Config>;
|
config?: number | JsonProjection<Config>;
|
||||||
platformId?: number;
|
platformId?: number;
|
||||||
folder?: number;
|
folder?: number;
|
||||||
|
oldestVersion?: number;
|
||||||
super?: number;
|
super?: number;
|
||||||
style?: number | JsonProjection<Style>;
|
style?: number | JsonProjection<Style>;
|
||||||
entity?: number;
|
entity?: number;
|
||||||
|
|
@ -77,6 +80,7 @@ export type OpSortAttr = Partial<{
|
||||||
description: number;
|
description: number;
|
||||||
config: number;
|
config: number;
|
||||||
folder: number;
|
folder: number;
|
||||||
|
oldestVersion: number;
|
||||||
super: number;
|
super: number;
|
||||||
style: number;
|
style: number;
|
||||||
entity: number;
|
entity: number;
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
export {};
|
||||||
|
|
@ -12,6 +12,7 @@
|
||||||
"entity": "关联对象",
|
"entity": "关联对象",
|
||||||
"entityId": "关联对象id",
|
"entityId": "关联对象id",
|
||||||
"accounts": "关联账户",
|
"accounts": "关联账户",
|
||||||
"withdrawAccounts": "关联提现账户"
|
"withdrawAccounts": "关联提现账户",
|
||||||
|
"oldestVersion": "支持app最低版本"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import WechatPay from './WechatPay';
|
import WechatPay from './WechatPay';
|
||||||
import WechatPayDebug from './WechatPay.debug';
|
import WechatPayDebug from './WechatPay.debug';
|
||||||
declare const _default: typeof WechatPayDebug | typeof WechatPay;
|
declare const _default: typeof WechatPay | typeof WechatPayDebug;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,7 @@ exports.entityDesc = {
|
||||||
entityId: '关联对象id',
|
entityId: '关联对象id',
|
||||||
accounts: '关联账户',
|
accounts: '关联账户',
|
||||||
withdrawAccounts: '关联提现账户',
|
withdrawAccounts: '关联提现账户',
|
||||||
|
oldestVersion: '支持app最低版本',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -31,6 +31,21 @@ exports.desc = {
|
||||||
style: {
|
style: {
|
||||||
type: "object"
|
type: "object"
|
||||||
},
|
},
|
||||||
|
dangerousVersions: {
|
||||||
|
notNull: true,
|
||||||
|
type: "object"
|
||||||
|
},
|
||||||
|
warningVersions: {
|
||||||
|
notNull: true,
|
||||||
|
type: "object"
|
||||||
|
},
|
||||||
|
soaVersion: {
|
||||||
|
notNull: true,
|
||||||
|
type: "varchar",
|
||||||
|
params: {
|
||||||
|
length: 12
|
||||||
|
}
|
||||||
|
},
|
||||||
domainId: {
|
domainId: {
|
||||||
type: "ref",
|
type: "ref",
|
||||||
ref: "domain"
|
ref: "domain"
|
||||||
|
|
|
||||||
|
|
@ -75,6 +75,7 @@ export type NativeConfig = {
|
||||||
port: string;
|
port: string;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
type Versions = string[];
|
||||||
export type OpSchema = EntityShape & {
|
export type OpSchema = EntityShape & {
|
||||||
name: String<32>;
|
name: String<32>;
|
||||||
description?: Text | null;
|
description?: Text | null;
|
||||||
|
|
@ -82,6 +83,9 @@ export type OpSchema = EntityShape & {
|
||||||
systemId: ForeignKey<"system">;
|
systemId: ForeignKey<"system">;
|
||||||
config: WebConfig | WechatMpConfig | WechatPublicConfig | NativeConfig;
|
config: WebConfig | WechatMpConfig | WechatPublicConfig | NativeConfig;
|
||||||
style?: Style | null;
|
style?: Style | null;
|
||||||
|
dangerousVersions: Versions;
|
||||||
|
warningVersions: Versions;
|
||||||
|
soaVersion: String<12>;
|
||||||
domainId?: ForeignKey<"domain"> | null;
|
domainId?: ForeignKey<"domain"> | null;
|
||||||
} & {
|
} & {
|
||||||
[A in ExpressionKey]?: any;
|
[A in ExpressionKey]?: any;
|
||||||
|
|
@ -98,6 +102,9 @@ export type OpFilter = {
|
||||||
systemId: Q_StringValue;
|
systemId: Q_StringValue;
|
||||||
config: JsonFilter<WebConfig | WechatMpConfig | WechatPublicConfig | NativeConfig>;
|
config: JsonFilter<WebConfig | WechatMpConfig | WechatPublicConfig | NativeConfig>;
|
||||||
style: JsonFilter<Style>;
|
style: JsonFilter<Style>;
|
||||||
|
dangerousVersions: JsonFilter<Versions>;
|
||||||
|
warningVersions: JsonFilter<Versions>;
|
||||||
|
soaVersion: Q_StringValue;
|
||||||
domainId: Q_StringValue;
|
domainId: Q_StringValue;
|
||||||
} & ExprOp<OpAttr | string>;
|
} & ExprOp<OpAttr | string>;
|
||||||
export type OpProjection = {
|
export type OpProjection = {
|
||||||
|
|
@ -113,6 +120,9 @@ export type OpProjection = {
|
||||||
systemId?: number;
|
systemId?: number;
|
||||||
config?: number | JsonProjection<WebConfig | WechatMpConfig | WechatPublicConfig | NativeConfig>;
|
config?: number | JsonProjection<WebConfig | WechatMpConfig | WechatPublicConfig | NativeConfig>;
|
||||||
style?: number | JsonProjection<Style>;
|
style?: number | JsonProjection<Style>;
|
||||||
|
dangerousVersions?: number | JsonProjection<Versions>;
|
||||||
|
warningVersions?: number | JsonProjection<Versions>;
|
||||||
|
soaVersion?: number;
|
||||||
domainId?: number;
|
domainId?: number;
|
||||||
} & Partial<ExprOp<OpAttr | string>>;
|
} & Partial<ExprOp<OpAttr | string>>;
|
||||||
export type OpSortAttr = Partial<{
|
export type OpSortAttr = Partial<{
|
||||||
|
|
@ -124,7 +134,11 @@ export type OpSortAttr = Partial<{
|
||||||
description: number;
|
description: number;
|
||||||
type: number;
|
type: number;
|
||||||
style: number;
|
style: number;
|
||||||
|
dangerousVersions: number;
|
||||||
|
warningVersions: number;
|
||||||
|
soaVersion: number;
|
||||||
[k: string]: any;
|
[k: string]: any;
|
||||||
} | ExprOp<OpAttr | string>>;
|
} | ExprOp<OpAttr | string>>;
|
||||||
export type OpAction = OakMakeAction<GenericAction | string>;
|
export type OpAction = OakMakeAction<GenericAction | string>;
|
||||||
export type OpUpdateAction = "update" | string;
|
export type OpUpdateAction = "update" | string;
|
||||||
|
export {};
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,2 @@
|
||||||
|
"use strict";
|
||||||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
|
|
@ -8,7 +8,10 @@
|
||||||
"config": "设置",
|
"config": "设置",
|
||||||
"style": "样式",
|
"style": "样式",
|
||||||
"sessions": "会话",
|
"sessions": "会话",
|
||||||
"domain": "域名"
|
"domain": "域名",
|
||||||
|
"dangerousVersions": "强制升级版本",
|
||||||
|
"warningVersions": "建议升级版本",
|
||||||
|
"soaVersion": "最新发布版本"
|
||||||
},
|
},
|
||||||
"v": {
|
"v": {
|
||||||
"type": {
|
"type": {
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,12 @@ exports.desc = {
|
||||||
notNull: true,
|
notNull: true,
|
||||||
type: "object"
|
type: "object"
|
||||||
},
|
},
|
||||||
|
oldestVersion: {
|
||||||
|
type: "varchar",
|
||||||
|
params: {
|
||||||
|
length: 32
|
||||||
|
}
|
||||||
|
},
|
||||||
style: {
|
style: {
|
||||||
type: "object"
|
type: "object"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@ export type OpSchema = EntityShape & {
|
||||||
name: String<32>;
|
name: String<32>;
|
||||||
description?: Text | null;
|
description?: Text | null;
|
||||||
config: Config;
|
config: Config;
|
||||||
|
oldestVersion?: String<32> | null;
|
||||||
style?: Style | null;
|
style?: Style | null;
|
||||||
entity?: String<32> | null;
|
entity?: String<32> | null;
|
||||||
entityId?: String<64> | null;
|
entityId?: String<64> | null;
|
||||||
|
|
@ -24,6 +25,7 @@ export type OpFilter = {
|
||||||
name: Q_StringValue;
|
name: Q_StringValue;
|
||||||
description: Q_StringValue;
|
description: Q_StringValue;
|
||||||
config: JsonFilter<Config>;
|
config: JsonFilter<Config>;
|
||||||
|
oldestVersion: Q_StringValue;
|
||||||
style: JsonFilter<Style>;
|
style: JsonFilter<Style>;
|
||||||
entity: Q_StringValue;
|
entity: Q_StringValue;
|
||||||
entityId: Q_StringValue;
|
entityId: Q_StringValue;
|
||||||
|
|
@ -38,6 +40,7 @@ export type OpProjection = {
|
||||||
name?: number;
|
name?: number;
|
||||||
description?: number;
|
description?: number;
|
||||||
config?: number | JsonProjection<Config>;
|
config?: number | JsonProjection<Config>;
|
||||||
|
oldestVersion?: number;
|
||||||
style?: number | JsonProjection<Style>;
|
style?: number | JsonProjection<Style>;
|
||||||
entity?: number;
|
entity?: number;
|
||||||
entityId?: number;
|
entityId?: number;
|
||||||
|
|
@ -50,6 +53,7 @@ export type OpSortAttr = Partial<{
|
||||||
name: number;
|
name: number;
|
||||||
description: number;
|
description: number;
|
||||||
config: number;
|
config: number;
|
||||||
|
oldestVersion: number;
|
||||||
style: number;
|
style: number;
|
||||||
entity: number;
|
entity: number;
|
||||||
entityId: number;
|
entityId: number;
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,2 @@
|
||||||
|
"use strict";
|
||||||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
|
|
@ -6,7 +6,8 @@
|
||||||
"config": "设置",
|
"config": "设置",
|
||||||
"style": "样式",
|
"style": "样式",
|
||||||
"entity": "关联对象",
|
"entity": "关联对象",
|
||||||
"entityId": "关联对象id"
|
"entityId": "关联对象id",
|
||||||
|
"oldestVersion": "支持app最低版本"
|
||||||
},
|
},
|
||||||
"r": {
|
"r": {
|
||||||
"owner": "拥有者",
|
"owner": "拥有者",
|
||||||
|
|
|
||||||
|
|
@ -22,21 +22,26 @@ exports.desc = {
|
||||||
type: "ref",
|
type: "ref",
|
||||||
ref: "platform"
|
ref: "platform"
|
||||||
},
|
},
|
||||||
folder // 提现的loss在用户提现时计算
|
folder: {
|
||||||
: {
|
|
||||||
type: "varchar",
|
type: "varchar",
|
||||||
params: {
|
params: {
|
||||||
length: 16
|
length: 16
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
super: {
|
oldestVersion: {
|
||||||
|
type: "varchar",
|
||||||
|
params: {
|
||||||
|
length: 32
|
||||||
|
}
|
||||||
|
},
|
||||||
|
super // 如果为true,则按照渠道taxLossRatio和refundCompensateRatio进行扣取(如果因为depositLossRatio已经大于taxLossRatio,则全额退款)
|
||||||
|
: {
|
||||||
type: "boolean"
|
type: "boolean"
|
||||||
},
|
},
|
||||||
style: {
|
style: {
|
||||||
type: "object"
|
type: "object"
|
||||||
},
|
},
|
||||||
entity // 如果为true,则按照渠道taxLossRatio和refundCompensateRatio进行扣取(如果因为depositLossRatio已经大于taxLossRatio,则全额退款)
|
entity: {
|
||||||
: {
|
|
||||||
type: "varchar",
|
type: "varchar",
|
||||||
params: {
|
params: {
|
||||||
length: 32
|
length: 32
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,7 @@ export type OpSchema = EntityShape & {
|
||||||
config: Config;
|
config: Config;
|
||||||
platformId?: ForeignKey<"platform"> | null;
|
platformId?: ForeignKey<"platform"> | null;
|
||||||
folder?: String<16> | null;
|
folder?: String<16> | null;
|
||||||
|
oldestVersion?: String<32> | null;
|
||||||
super?: Boolean | null;
|
super?: Boolean | null;
|
||||||
style?: Style | null;
|
style?: Style | null;
|
||||||
entity?: String<32> | null;
|
entity?: String<32> | null;
|
||||||
|
|
@ -44,6 +45,7 @@ export type OpFilter = {
|
||||||
config: JsonFilter<Config>;
|
config: JsonFilter<Config>;
|
||||||
platformId: Q_StringValue;
|
platformId: Q_StringValue;
|
||||||
folder: Q_StringValue;
|
folder: Q_StringValue;
|
||||||
|
oldestVersion: Q_StringValue;
|
||||||
super: Q_BooleanValue;
|
super: Q_BooleanValue;
|
||||||
style: JsonFilter<Style>;
|
style: JsonFilter<Style>;
|
||||||
entity: Q_StringValue;
|
entity: Q_StringValue;
|
||||||
|
|
@ -62,6 +64,7 @@ export type OpProjection = {
|
||||||
config?: number | JsonProjection<Config>;
|
config?: number | JsonProjection<Config>;
|
||||||
platformId?: number;
|
platformId?: number;
|
||||||
folder?: number;
|
folder?: number;
|
||||||
|
oldestVersion?: number;
|
||||||
super?: number;
|
super?: number;
|
||||||
style?: number | JsonProjection<Style>;
|
style?: number | JsonProjection<Style>;
|
||||||
entity?: number;
|
entity?: number;
|
||||||
|
|
@ -77,6 +80,7 @@ export type OpSortAttr = Partial<{
|
||||||
description: number;
|
description: number;
|
||||||
config: number;
|
config: number;
|
||||||
folder: number;
|
folder: number;
|
||||||
|
oldestVersion: number;
|
||||||
super: number;
|
super: number;
|
||||||
style: number;
|
style: number;
|
||||||
entity: number;
|
entity: number;
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,2 @@
|
||||||
|
"use strict";
|
||||||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
|
|
@ -12,6 +12,7 @@
|
||||||
"entity": "关联对象",
|
"entity": "关联对象",
|
||||||
"entityId": "关联对象id",
|
"entityId": "关联对象id",
|
||||||
"accounts": "关联账户",
|
"accounts": "关联账户",
|
||||||
"withdrawAccounts": "关联提现账户"
|
"withdrawAccounts": "关联提现账户",
|
||||||
|
"oldestVersion": "支持app最低版本"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import WechatPay from './WechatPay';
|
import WechatPay from './WechatPay';
|
||||||
import WechatPayDebug from './WechatPay.debug';
|
import WechatPayDebug from './WechatPay.debug';
|
||||||
declare const _default: typeof WechatPayDebug | typeof WechatPay;
|
declare const _default: typeof WechatPay | typeof WechatPayDebug;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -44,6 +44,7 @@ export const entityDesc: EntityDesc<Schema> = {
|
||||||
entityId: '关联对象id',
|
entityId: '关联对象id',
|
||||||
accounts: '关联账户',
|
accounts: '关联账户',
|
||||||
withdrawAccounts: '关联提现账户',
|
withdrawAccounts: '关联提现账户',
|
||||||
|
oldestVersion: '支持app最低版本',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue