|
|
@@ -29,13 +29,13 @@ export const SysWechatPayApiAxiosParamCreator = function (configuration?: Config
|
|
|
return {
|
|
|
/**
|
|
|
*
|
|
|
- * @summary 微信支付统一下单获取Id(服务商模式)
|
|
|
- * @param {WechatPayTransactionInput} [body]
|
|
|
+ * @summary 生成JSAPI调起支付所需参数
|
|
|
+ * @param {WechatPayParaInput} [body]
|
|
|
* @param {*} [options] Override http request option.
|
|
|
* @throws {RequiredError}
|
|
|
*/
|
|
|
- apiSysWechatPayCreatePayPartnerTransactionPost: async (body?: WechatPayTransactionInput, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
|
- const localVarPath = `/api/sysWechatPay/createPayPartnerTransaction`;
|
|
|
+ apiSysWechatPayGenerateParametersForJsapiPayPost: async (body?: WechatPayParaInput, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
|
+ const localVarPath = `/api/sysWechatPay/generateParametersForJsapiPay`;
|
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
|
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
|
let baseOptions;
|
|
|
@@ -70,13 +70,12 @@ export const SysWechatPayApiAxiosParamCreator = function (configuration?: Config
|
|
|
},
|
|
|
/**
|
|
|
*
|
|
|
- * @summary 微信支付统一下单获取Id(商户直连)
|
|
|
- * @param {WechatPayTransactionInput} [body]
|
|
|
+ * @summary 微信支付成功回调(商户直连)
|
|
|
* @param {*} [options] Override http request option.
|
|
|
* @throws {RequiredError}
|
|
|
*/
|
|
|
- apiSysWechatPayCreatePayTransactionPost: async (body?: WechatPayTransactionInput, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
|
- const localVarPath = `/api/sysWechatPay/createPayTransaction`;
|
|
|
+ apiSysWechatPayPayCallBackPost: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
|
+ const localVarPath = `/api/sysWechatPay/payCallBack`;
|
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
|
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
|
let baseOptions;
|
|
|
@@ -89,8 +88,6 @@ export const SysWechatPayApiAxiosParamCreator = function (configuration?: Config
|
|
|
|
|
|
// authentication Bearer required
|
|
|
|
|
|
- localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
|
-
|
|
|
const query = new URLSearchParams(localVarUrlObj.search);
|
|
|
for (const key in localVarQueryParameter) {
|
|
|
query.set(key, localVarQueryParameter[key]);
|
|
|
@@ -101,8 +98,6 @@ export const SysWechatPayApiAxiosParamCreator = function (configuration?: Config
|
|
|
localVarUrlObj.search = (new URLSearchParams(query)).toString();
|
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
|
- const needsSerialization = (typeof body !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
|
- localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || "");
|
|
|
|
|
|
return {
|
|
|
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
|
@@ -111,27 +106,30 @@ export const SysWechatPayApiAxiosParamCreator = function (configuration?: Config
|
|
|
},
|
|
|
/**
|
|
|
*
|
|
|
- * @summary 生成JSAPI调起支付所需参数
|
|
|
- * @param {WechatPayParaInput} [body]
|
|
|
+ * @summary 获取支付订单详情
|
|
|
+ * @param {string} tradeId
|
|
|
* @param {*} [options] Override http request option.
|
|
|
* @throws {RequiredError}
|
|
|
*/
|
|
|
- apiSysWechatPayGenerateParametersForJsapiPayPost: async (body?: WechatPayParaInput, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
|
- const localVarPath = `/api/sysWechatPay/generateParametersForJsapiPay`;
|
|
|
+ apiSysWechatPayPayInfoTradeIdGet: async (tradeId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
|
+ // verify required parameter 'tradeId' is not null or undefined
|
|
|
+ if (tradeId === null || tradeId === undefined) {
|
|
|
+ throw new RequiredError('tradeId','Required parameter tradeId was null or undefined when calling apiSysWechatPayPayInfoTradeIdGet.');
|
|
|
+ }
|
|
|
+ const localVarPath = `/api/sysWechatPay/payInfo/{tradeId}`
|
|
|
+ .replace(`{${"tradeId"}}`, encodeURIComponent(String(tradeId)));
|
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
|
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
|
let baseOptions;
|
|
|
if (configuration) {
|
|
|
baseOptions = configuration.baseOptions;
|
|
|
}
|
|
|
- const localVarRequestOptions :AxiosRequestConfig = { method: 'POST', ...baseOptions, ...options};
|
|
|
+ const localVarRequestOptions :AxiosRequestConfig = { method: 'GET', ...baseOptions, ...options};
|
|
|
const localVarHeaderParameter = {} as any;
|
|
|
const localVarQueryParameter = {} as any;
|
|
|
|
|
|
// authentication Bearer required
|
|
|
|
|
|
- localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
|
-
|
|
|
const query = new URLSearchParams(localVarUrlObj.search);
|
|
|
for (const key in localVarQueryParameter) {
|
|
|
query.set(key, localVarQueryParameter[key]);
|
|
|
@@ -142,8 +140,6 @@ export const SysWechatPayApiAxiosParamCreator = function (configuration?: Config
|
|
|
localVarUrlObj.search = (new URLSearchParams(query)).toString();
|
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
|
- const needsSerialization = (typeof body !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
|
- localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || "");
|
|
|
|
|
|
return {
|
|
|
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
|
@@ -152,12 +148,12 @@ export const SysWechatPayApiAxiosParamCreator = function (configuration?: Config
|
|
|
},
|
|
|
/**
|
|
|
*
|
|
|
- * @summary 微信支付成功回调(商户直连)
|
|
|
+ * @summary 微信支付成功回调(服务商模式)
|
|
|
* @param {*} [options] Override http request option.
|
|
|
* @throws {RequiredError}
|
|
|
*/
|
|
|
- apiSysWechatPayPayCallBackPost: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
|
- const localVarPath = `/api/sysWechatPay/payCallBack`;
|
|
|
+ apiSysWechatPayPayPartnerCallBackPost: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
|
+ const localVarPath = `/api/sysWechatPay/payPartnerCallBack`;
|
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
|
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
|
let baseOptions;
|
|
|
@@ -188,30 +184,27 @@ export const SysWechatPayApiAxiosParamCreator = function (configuration?: Config
|
|
|
},
|
|
|
/**
|
|
|
*
|
|
|
- * @summary 获取支付订单详情
|
|
|
- * @param {string} tradeId
|
|
|
+ * @summary 微信支付统一下单获取Id(服务商模式)
|
|
|
+ * @param {WechatPayTransactionInput} [body]
|
|
|
* @param {*} [options] Override http request option.
|
|
|
* @throws {RequiredError}
|
|
|
*/
|
|
|
- apiSysWechatPayPayInfoTradeIdGet: async (tradeId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
|
- // verify required parameter 'tradeId' is not null or undefined
|
|
|
- if (tradeId === null || tradeId === undefined) {
|
|
|
- throw new RequiredError('tradeId','Required parameter tradeId was null or undefined when calling apiSysWechatPayPayInfoTradeIdGet.');
|
|
|
- }
|
|
|
- const localVarPath = `/api/sysWechatPay/payInfo/{tradeId}`
|
|
|
- .replace(`{${"tradeId"}}`, encodeURIComponent(String(tradeId)));
|
|
|
+ apiSysWechatPayPayPartnerTransactionPost: async (body?: WechatPayTransactionInput, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
|
+ const localVarPath = `/api/sysWechatPay/payPartnerTransaction`;
|
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
|
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
|
let baseOptions;
|
|
|
if (configuration) {
|
|
|
baseOptions = configuration.baseOptions;
|
|
|
}
|
|
|
- const localVarRequestOptions :AxiosRequestConfig = { method: 'GET', ...baseOptions, ...options};
|
|
|
+ const localVarRequestOptions :AxiosRequestConfig = { method: 'POST', ...baseOptions, ...options};
|
|
|
const localVarHeaderParameter = {} as any;
|
|
|
const localVarQueryParameter = {} as any;
|
|
|
|
|
|
// authentication Bearer required
|
|
|
|
|
|
+ localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
|
+
|
|
|
const query = new URLSearchParams(localVarUrlObj.search);
|
|
|
for (const key in localVarQueryParameter) {
|
|
|
query.set(key, localVarQueryParameter[key]);
|
|
|
@@ -222,6 +215,8 @@ export const SysWechatPayApiAxiosParamCreator = function (configuration?: Config
|
|
|
localVarUrlObj.search = (new URLSearchParams(query)).toString();
|
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
|
+ const needsSerialization = (typeof body !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
|
+ localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || "");
|
|
|
|
|
|
return {
|
|
|
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
|
@@ -230,12 +225,13 @@ export const SysWechatPayApiAxiosParamCreator = function (configuration?: Config
|
|
|
},
|
|
|
/**
|
|
|
*
|
|
|
- * @summary 微信支付成功回调(服务商模式)
|
|
|
+ * @summary 微信支付统一下单获取Id(商户直连)
|
|
|
+ * @param {WechatPayTransactionInput} [body]
|
|
|
* @param {*} [options] Override http request option.
|
|
|
* @throws {RequiredError}
|
|
|
*/
|
|
|
- apiSysWechatPayPayPartnerCallBackPost: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
|
- const localVarPath = `/api/sysWechatPay/payPartnerCallBack`;
|
|
|
+ apiSysWechatPayPayTransactionPost: async (body?: WechatPayTransactionInput, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
|
+ const localVarPath = `/api/sysWechatPay/payTransaction`;
|
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
|
const localVarUrlObj = new URL(localVarPath, 'https://example.com');
|
|
|
let baseOptions;
|
|
|
@@ -248,6 +244,8 @@ export const SysWechatPayApiAxiosParamCreator = function (configuration?: Config
|
|
|
|
|
|
// authentication Bearer required
|
|
|
|
|
|
+ localVarHeaderParameter['Content-Type'] = 'application/json-patch+json';
|
|
|
+
|
|
|
const query = new URLSearchParams(localVarUrlObj.search);
|
|
|
for (const key in localVarQueryParameter) {
|
|
|
query.set(key, localVarQueryParameter[key]);
|
|
|
@@ -258,6 +256,8 @@ export const SysWechatPayApiAxiosParamCreator = function (configuration?: Config
|
|
|
localVarUrlObj.search = (new URLSearchParams(query)).toString();
|
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
|
+ const needsSerialization = (typeof body !== "string") || localVarRequestOptions.headers['Content-Type'] === 'application/json';
|
|
|
+ localVarRequestOptions.data = needsSerialization ? JSON.stringify(body !== undefined ? body : {}) : (body || "");
|
|
|
|
|
|
return {
|
|
|
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash,
|
|
|
@@ -273,34 +273,6 @@ export const SysWechatPayApiAxiosParamCreator = function (configuration?: Config
|
|
|
*/
|
|
|
export const SysWechatPayApiFp = function(configuration?: Configuration) {
|
|
|
return {
|
|
|
- /**
|
|
|
- *
|
|
|
- * @summary 微信支付统一下单获取Id(服务商模式)
|
|
|
- * @param {WechatPayTransactionInput} [body]
|
|
|
- * @param {*} [options] Override http request option.
|
|
|
- * @throws {RequiredError}
|
|
|
- */
|
|
|
- async apiSysWechatPayCreatePayPartnerTransactionPost(body?: WechatPayTransactionInput, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultObject>>> {
|
|
|
- const localVarAxiosArgs = await SysWechatPayApiAxiosParamCreator(configuration).apiSysWechatPayCreatePayPartnerTransactionPost(body, options);
|
|
|
- return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
|
- const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
|
|
- return axios.request(axiosRequestArgs);
|
|
|
- };
|
|
|
- },
|
|
|
- /**
|
|
|
- *
|
|
|
- * @summary 微信支付统一下单获取Id(商户直连)
|
|
|
- * @param {WechatPayTransactionInput} [body]
|
|
|
- * @param {*} [options] Override http request option.
|
|
|
- * @throws {RequiredError}
|
|
|
- */
|
|
|
- async apiSysWechatPayCreatePayTransactionPost(body?: WechatPayTransactionInput, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultObject>>> {
|
|
|
- const localVarAxiosArgs = await SysWechatPayApiAxiosParamCreator(configuration).apiSysWechatPayCreatePayTransactionPost(body, options);
|
|
|
- return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
|
- const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
|
|
- return axios.request(axiosRequestArgs);
|
|
|
- };
|
|
|
- },
|
|
|
/**
|
|
|
*
|
|
|
* @summary 生成JSAPI调起支付所需参数
|
|
|
@@ -355,15 +327,6 @@ export const SysWechatPayApiFp = function(configuration?: Configuration) {
|
|
|
return axios.request(axiosRequestArgs);
|
|
|
};
|
|
|
},
|
|
|
- }
|
|
|
-};
|
|
|
-
|
|
|
-/**
|
|
|
- * SysWechatPayApi - factory interface
|
|
|
- * @export
|
|
|
- */
|
|
|
-export const SysWechatPayApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
|
- return {
|
|
|
/**
|
|
|
*
|
|
|
* @summary 微信支付统一下单获取Id(服务商模式)
|
|
|
@@ -371,8 +334,12 @@ export const SysWechatPayApiFactory = function (configuration?: Configuration, b
|
|
|
* @param {*} [options] Override http request option.
|
|
|
* @throws {RequiredError}
|
|
|
*/
|
|
|
- async apiSysWechatPayCreatePayPartnerTransactionPost(body?: WechatPayTransactionInput, options?: AxiosRequestConfig): Promise<AxiosResponse<AdminResultObject>> {
|
|
|
- return SysWechatPayApiFp(configuration).apiSysWechatPayCreatePayPartnerTransactionPost(body, options).then((request) => request(axios, basePath));
|
|
|
+ async apiSysWechatPayPayPartnerTransactionPost(body?: WechatPayTransactionInput, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultObject>>> {
|
|
|
+ const localVarAxiosArgs = await SysWechatPayApiAxiosParamCreator(configuration).apiSysWechatPayPayPartnerTransactionPost(body, options);
|
|
|
+ return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
|
+ const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
|
|
+ return axios.request(axiosRequestArgs);
|
|
|
+ };
|
|
|
},
|
|
|
/**
|
|
|
*
|
|
|
@@ -381,9 +348,22 @@ export const SysWechatPayApiFactory = function (configuration?: Configuration, b
|
|
|
* @param {*} [options] Override http request option.
|
|
|
* @throws {RequiredError}
|
|
|
*/
|
|
|
- async apiSysWechatPayCreatePayTransactionPost(body?: WechatPayTransactionInput, options?: AxiosRequestConfig): Promise<AxiosResponse<AdminResultObject>> {
|
|
|
- return SysWechatPayApiFp(configuration).apiSysWechatPayCreatePayTransactionPost(body, options).then((request) => request(axios, basePath));
|
|
|
+ async apiSysWechatPayPayTransactionPost(body?: WechatPayTransactionInput, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<AdminResultObject>>> {
|
|
|
+ const localVarAxiosArgs = await SysWechatPayApiAxiosParamCreator(configuration).apiSysWechatPayPayTransactionPost(body, options);
|
|
|
+ return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
|
+ const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
|
|
|
+ return axios.request(axiosRequestArgs);
|
|
|
+ };
|
|
|
},
|
|
|
+ }
|
|
|
+};
|
|
|
+
|
|
|
+/**
|
|
|
+ * SysWechatPayApi - factory interface
|
|
|
+ * @export
|
|
|
+ */
|
|
|
+export const SysWechatPayApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
|
+ return {
|
|
|
/**
|
|
|
*
|
|
|
* @summary 生成JSAPI调起支付所需参数
|
|
|
@@ -422,6 +402,26 @@ export const SysWechatPayApiFactory = function (configuration?: Configuration, b
|
|
|
async apiSysWechatPayPayPartnerCallBackPost(options?: AxiosRequestConfig): Promise<AxiosResponse<void>> {
|
|
|
return SysWechatPayApiFp(configuration).apiSysWechatPayPayPartnerCallBackPost(options).then((request) => request(axios, basePath));
|
|
|
},
|
|
|
+ /**
|
|
|
+ *
|
|
|
+ * @summary 微信支付统一下单获取Id(服务商模式)
|
|
|
+ * @param {WechatPayTransactionInput} [body]
|
|
|
+ * @param {*} [options] Override http request option.
|
|
|
+ * @throws {RequiredError}
|
|
|
+ */
|
|
|
+ async apiSysWechatPayPayPartnerTransactionPost(body?: WechatPayTransactionInput, options?: AxiosRequestConfig): Promise<AxiosResponse<AdminResultObject>> {
|
|
|
+ return SysWechatPayApiFp(configuration).apiSysWechatPayPayPartnerTransactionPost(body, options).then((request) => request(axios, basePath));
|
|
|
+ },
|
|
|
+ /**
|
|
|
+ *
|
|
|
+ * @summary 微信支付统一下单获取Id(商户直连)
|
|
|
+ * @param {WechatPayTransactionInput} [body]
|
|
|
+ * @param {*} [options] Override http request option.
|
|
|
+ * @throws {RequiredError}
|
|
|
+ */
|
|
|
+ async apiSysWechatPayPayTransactionPost(body?: WechatPayTransactionInput, options?: AxiosRequestConfig): Promise<AxiosResponse<AdminResultObject>> {
|
|
|
+ return SysWechatPayApiFp(configuration).apiSysWechatPayPayTransactionPost(body, options).then((request) => request(axios, basePath));
|
|
|
+ },
|
|
|
};
|
|
|
};
|
|
|
|
|
|
@@ -432,28 +432,6 @@ export const SysWechatPayApiFactory = function (configuration?: Configuration, b
|
|
|
* @extends {BaseAPI}
|
|
|
*/
|
|
|
export class SysWechatPayApi extends BaseAPI {
|
|
|
- /**
|
|
|
- *
|
|
|
- * @summary 微信支付统一下单获取Id(服务商模式)
|
|
|
- * @param {WechatPayTransactionInput} [body]
|
|
|
- * @param {*} [options] Override http request option.
|
|
|
- * @throws {RequiredError}
|
|
|
- * @memberof SysWechatPayApi
|
|
|
- */
|
|
|
- public async apiSysWechatPayCreatePayPartnerTransactionPost(body?: WechatPayTransactionInput, options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminResultObject>> {
|
|
|
- return SysWechatPayApiFp(this.configuration).apiSysWechatPayCreatePayPartnerTransactionPost(body, options).then((request) => request(this.axios, this.basePath));
|
|
|
- }
|
|
|
- /**
|
|
|
- *
|
|
|
- * @summary 微信支付统一下单获取Id(商户直连)
|
|
|
- * @param {WechatPayTransactionInput} [body]
|
|
|
- * @param {*} [options] Override http request option.
|
|
|
- * @throws {RequiredError}
|
|
|
- * @memberof SysWechatPayApi
|
|
|
- */
|
|
|
- public async apiSysWechatPayCreatePayTransactionPost(body?: WechatPayTransactionInput, options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminResultObject>> {
|
|
|
- return SysWechatPayApiFp(this.configuration).apiSysWechatPayCreatePayTransactionPost(body, options).then((request) => request(this.axios, this.basePath));
|
|
|
- }
|
|
|
/**
|
|
|
*
|
|
|
* @summary 生成JSAPI调起支付所需参数
|
|
|
@@ -496,4 +474,26 @@ export class SysWechatPayApi extends BaseAPI {
|
|
|
public async apiSysWechatPayPayPartnerCallBackPost(options?: AxiosRequestConfig) : Promise<AxiosResponse<void>> {
|
|
|
return SysWechatPayApiFp(this.configuration).apiSysWechatPayPayPartnerCallBackPost(options).then((request) => request(this.axios, this.basePath));
|
|
|
}
|
|
|
+ /**
|
|
|
+ *
|
|
|
+ * @summary 微信支付统一下单获取Id(服务商模式)
|
|
|
+ * @param {WechatPayTransactionInput} [body]
|
|
|
+ * @param {*} [options] Override http request option.
|
|
|
+ * @throws {RequiredError}
|
|
|
+ * @memberof SysWechatPayApi
|
|
|
+ */
|
|
|
+ public async apiSysWechatPayPayPartnerTransactionPost(body?: WechatPayTransactionInput, options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminResultObject>> {
|
|
|
+ return SysWechatPayApiFp(this.configuration).apiSysWechatPayPayPartnerTransactionPost(body, options).then((request) => request(this.axios, this.basePath));
|
|
|
+ }
|
|
|
+ /**
|
|
|
+ *
|
|
|
+ * @summary 微信支付统一下单获取Id(商户直连)
|
|
|
+ * @param {WechatPayTransactionInput} [body]
|
|
|
+ * @param {*} [options] Override http request option.
|
|
|
+ * @throws {RequiredError}
|
|
|
+ * @memberof SysWechatPayApi
|
|
|
+ */
|
|
|
+ public async apiSysWechatPayPayTransactionPost(body?: WechatPayTransactionInput, options?: AxiosRequestConfig) : Promise<AxiosResponse<AdminResultObject>> {
|
|
|
+ return SysWechatPayApiFp(this.configuration).apiSysWechatPayPayTransactionPost(body, options).then((request) => request(this.axios, this.basePath));
|
|
|
+ }
|
|
|
}
|