From 18f20e0a34bd645c8cea38ba4d7c83692b7b65f1 Mon Sep 17 00:00:00 2001 From: "AERWEN\\26795" <123456789a> Date: Sun, 29 Oct 2023 15:18:49 +0800 Subject: [PATCH] =?UTF-8?q?feat=20=E6=B7=BB=E5=8A=A0=E8=A1=A8=E6=83=85?= =?UTF-8?q?=E5=8C=85=E5=88=86=E7=B1=BB=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../EmotionCategorys/EmotionCategoryApiDto.cs | 33 ++++ .../EmotionCategorys/EmotionCategoryApiVo.cs | 133 +++++++++++++++ .../EmotionCategoryListApiVo.cs | 31 ++++ .../EmotionCategoryServiceApi.cs | 157 ++++++++++++++++++ .../IEmotionCategoryServiceApi.cs | 45 +++++ .../EmotionCategoryApiController.cs | 87 ++++++++++ ARW.WebApi/appsettings.json | 24 +-- 7 files changed, 498 insertions(+), 12 deletions(-) create mode 100644 ARW.Model/Dto/Api/EmotionManage/EmotionCategorys/EmotionCategoryApiDto.cs create mode 100644 ARW.Model/Vo/Api/EmotionManage/EmotionCategorys/EmotionCategoryApiVo.cs create mode 100644 ARW.Model/Vo/Api/EmotionManage/EmotionCategorys/EmotionCategoryListApiVo.cs create mode 100644 ARW.Service/Api/BusinessService/EmotionManage/EmotionCategorys/EmotionCategoryServiceApi.cs create mode 100644 ARW.Service/Api/IBusinessService/EmotionManage/EmotionCategorys/IEmotionCategoryServiceApi.cs create mode 100644 ARW.WebApi/Controllers/Api/EmotionManage/EmotionCategorys/EmotionCategoryApiController.cs diff --git a/ARW.Model/Dto/Api/EmotionManage/EmotionCategorys/EmotionCategoryApiDto.cs b/ARW.Model/Dto/Api/EmotionManage/EmotionCategorys/EmotionCategoryApiDto.cs new file mode 100644 index 0000000..f1e7a38 --- /dev/null +++ b/ARW.Model/Dto/Api/EmotionManage/EmotionCategorys/EmotionCategoryApiDto.cs @@ -0,0 +1,33 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel.DataAnnotations; +using ARW.Model.Models.Business.EmotionManage.EmotionCategorys; + +namespace ARW.Model.Dto.Api.EmotionManage.EmotionCategorys +{ + + /// + /// 表情包分类查询对象Api + /// + /// @author lwh + /// @date 2023-10-29 + /// + public class EmotionCategoryQueryDtoApi : PagerInfo + { + public string EmotionCategoryName { get; set; } + } + + + /// + /// 表情包分类详情输入对象Api + /// + /// @author lwh + /// @date 2023-10-29 + /// + public class EmotionCategoryDtoApi + { + [Required(ErrorMessage = "EmotionCategoryGuid不能为空")] + public long EmotionCategoryGuid { get; set; } + } + +} diff --git a/ARW.Model/Vo/Api/EmotionManage/EmotionCategorys/EmotionCategoryApiVo.cs b/ARW.Model/Vo/Api/EmotionManage/EmotionCategorys/EmotionCategoryApiVo.cs new file mode 100644 index 0000000..8814ee5 --- /dev/null +++ b/ARW.Model/Vo/Api/EmotionManage/EmotionCategorys/EmotionCategoryApiVo.cs @@ -0,0 +1,133 @@ +using Newtonsoft.Json; +using OfficeOpenXml.Attributes; +using SqlSugar; +using System; +using ARW.Model.Models.Business.EmotionManage.EmotionCategorys; +using System.Collections.Generic; + +namespace ARW.Model.Vo.Api.EmotionManage.EmotionCategorys +{ + /// + /// 表情包分类展示对象Api + /// + /// @author lwh + /// @date 2023-10-29 + /// + public class EmotionCategoryVoApi + { + + + /// + /// 描述 : + /// + [EpplusIgnore] + public int EmotionCategoryId { get; set; } + + + /// + /// 描述 : + /// + [JsonConverter(typeof(ValueToStringConverter))] + [SugarColumn(IsTreeKey = true)] + [EpplusIgnore] + public long EmotionCategoryGuid { get; set; } + + + /// + /// 描述 :父级guid + /// + [JsonConverter(typeof(ValueToStringConverter))] + [SugarColumn(IsTreeKey = true)] + [EpplusTableColumn(Header = "父级guid")] + public long EmotionCategoryParentGuid { get; set; } + + + /// + /// 描述 :祖级guid + /// + [JsonConverter(typeof(ValueToStringConverter))] + [SugarColumn(IsTreeKey = true)] + [EpplusTableColumn(Header = "祖级guid")] + public string EmotionCategoryAncestralGuid { get; set; } + + + /// + /// 描述 :名称 + /// + [EpplusTableColumn(Header = "名称")] + public string EmotionCategoryName { get; set; } + + + /// + /// 描述 :图片 + /// + [EpplusIgnore] + public string EmotionCategoryImg { get; set; } + + + /// + /// 描述 :是否为热门 (1是 2否) + /// + [EpplusTableColumn(Header = "是否为热门 (1是 2否)")] + public int IsPopular { get; set; } + + + /// + /// 描述 :浏览次数 + /// + [EpplusTableColumn(Header = "浏览次数")] + public int EmotionCategoryViewsNum { get; set; } + + + /// + /// 描述 :排序 + /// + [EpplusTableColumn(Header = "排序")] + public int EmotionCategorySort { get; set; } + + public string ParentName { get; set; } + + [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] + [SugarColumn(IsIgnore = true)] + public List Children { get; set; } + } + + + /// + /// 表情包分类详情展示对象Api + /// + public class EmotionCategoryApiDetailsVo + { + [EpplusIgnore] + public int EmotionCategoryId { get; set; } + [JsonConverter(typeof(ValueToStringConverter))] + [SugarColumn(IsTreeKey = true)] + [EpplusIgnore] + public long EmotionCategoryGuid { get; set; } + [JsonConverter(typeof(ValueToStringConverter))] + [SugarColumn(IsTreeKey = true)] + [EpplusTableColumn(Header = "父级guid")] + public long EmotionCategoryParentGuid { get; set; } + [JsonConverter(typeof(ValueToStringConverter))] + [SugarColumn(IsTreeKey = true)] + [EpplusTableColumn(Header = "祖级guid")] + public string EmotionCategoryAncestralGuid { get; set; } + [EpplusTableColumn(Header = "名称")] + public string EmotionCategoryName { get; set; } + [EpplusIgnore] + public string EmotionCategoryImg { get; set; } + [EpplusTableColumn(Header = "是否为热门 (1是 2否)")] + public int IsPopular { get; set; } + [EpplusTableColumn(Header = "浏览次数")] + public int EmotionCategoryViewsNum { get; set; } + [EpplusTableColumn(Header = "排序")] + public int EmotionCategorySort { get; set; } + + public string ParentName { get; set; } + + [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] + [SugarColumn(IsIgnore = true)] + public List Children { get; set; } + } + +} diff --git a/ARW.Model/Vo/Api/EmotionManage/EmotionCategorys/EmotionCategoryListApiVo.cs b/ARW.Model/Vo/Api/EmotionManage/EmotionCategorys/EmotionCategoryListApiVo.cs new file mode 100644 index 0000000..47f17a0 --- /dev/null +++ b/ARW.Model/Vo/Api/EmotionManage/EmotionCategorys/EmotionCategoryListApiVo.cs @@ -0,0 +1,31 @@ +using Newtonsoft.Json; +using OfficeOpenXml.Attributes; +using SqlSugar; +using System; +using ARW.Model.Models.Business.EmotionManage.EmotionCategorys; +using System.Collections.Generic; + +namespace ARW.Model.Vo.Api.EmotionManage.EmotionCategorys +{ + /// + /// 表情包分类展示对象Api + /// + /// @author lwh + /// @date 2023-10-29 + /// + public class EmotionCategoryListVoApi + { + + /// + /// 描述 :名称 + /// + public string Text { get; set; } + + /// + /// 描述 : + /// + public int Key { get; set; } + + } + +} diff --git a/ARW.Service/Api/BusinessService/EmotionManage/EmotionCategorys/EmotionCategoryServiceApi.cs b/ARW.Service/Api/BusinessService/EmotionManage/EmotionCategorys/EmotionCategoryServiceApi.cs new file mode 100644 index 0000000..6706327 --- /dev/null +++ b/ARW.Service/Api/BusinessService/EmotionManage/EmotionCategorys/EmotionCategoryServiceApi.cs @@ -0,0 +1,157 @@ +using Infrastructure.Attribute; +using Microsoft.AspNetCore.Http; +using SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using ARW.Model; +using ARW.Repository; +using ARW.Repository.Business.EmotionManage.EmotionCategorys; +using ARW.Service.Api.IBusinessService.EmotionManage.EmotionCategorys; +using ARW.Model.Dto.Api.EmotionManage.EmotionCategorys; +using ARW.Model.Models.Business.EmotionManage.EmotionCategorys; +using ARW.Model.Vo.Api.EmotionManage.EmotionCategorys; + +namespace ARW.Service.Api.BusinessService.EmotionManage.EmotionCategorys +{ + /// + /// 表情包分类接口实现类Api + /// + /// @author lwh + /// @date 2023-10-29 + /// + [AppService(ServiceType = typeof(IEmotionCategoryServiceApi), ServiceLifetime = LifeTime.Transient)] + public class EmotionCategoryServiceImplApi : BaseService, IEmotionCategoryServiceApi + { + private readonly EmotionCategoryRepository _EmotionCategoryRepository; + + public EmotionCategoryServiceImplApi(EmotionCategoryRepository EmotionCategoryRepository) + { + this._EmotionCategoryRepository = EmotionCategoryRepository; + } + + #region Api接口代码 + + + + /// + /// 查询热门表情包分类列表(Api) + /// + /// + /// + public async Task> GetHotEmotionCategoryListApi(EmotionCategoryQueryDtoApi parm) + { + //开始拼装查询条件d + var predicate = Expressionable.Create(); + + predicate = predicate.AndIF(!string.IsNullOrEmpty(parm.EmotionCategoryName), s => s.EmotionCategoryName.Contains(parm.EmotionCategoryName)); + var query = _EmotionCategoryRepository + .Queryable() + .Where(predicate.ToExpression()) + .Where(s => s.IsPopular == 1) + .OrderBy(s => s.EmotionCategorySort, OrderByType.Asc) + .Select(s => new EmotionCategoryListVoApi + { + Key = s.EmotionCategoryId, + Text = s.EmotionCategoryName, + }); + + return await query.ToListAsync(); + } + + + + /// + /// 查询表情包分类列表(Api) + /// + /// + /// + public async Task> GetEmotionCategoryListApi(EmotionCategoryQueryDtoApi parm) + { + //开始拼装查询条件d + var predicate = Expressionable.Create(); + + predicate = predicate.AndIF(!string.IsNullOrEmpty(parm.EmotionCategoryName), s => s.EmotionCategoryName.Contains(parm.EmotionCategoryName)); + var query = _EmotionCategoryRepository + .Queryable() + .Where(predicate.ToExpression()) + .OrderBy(s => s.EmotionCategorySort, OrderByType.Asc) + .Select(s => new EmotionCategoryListVoApi + { + Key = s.EmotionCategoryId, + Text = s.EmotionCategoryName, + }); + + return await query.ToListAsync(); + } + + + + /// + /// 查询表情包分类树形列表(Api) + /// + /// + /// + public async Task> GetEmotionCategoryTreeListApi(EmotionCategoryQueryDtoApi parm) + { + //开始拼装查询条件d + var predicate = Expressionable.Create(); + + predicate = predicate.AndIF(!string.IsNullOrEmpty(parm.EmotionCategoryName), s => s.EmotionCategoryName.Contains(parm.EmotionCategoryName)); + var query = _EmotionCategoryRepository + .Queryable() + .Where(predicate.ToExpression()) + .LeftJoin((s, c) => s.EmotionCategoryParentGuid == c.EmotionCategoryGuid) + .OrderBy(s => s.EmotionCategorySort, OrderByType.Asc) + .Select((s, c) => new EmotionCategoryVoApi + { + EmotionCategoryId = s.EmotionCategoryId, + EmotionCategoryGuid = s.EmotionCategoryGuid, + EmotionCategoryParentGuid = s.EmotionCategoryParentGuid, + EmotionCategoryAncestralGuid = s.EmotionCategoryAncestralGuid, + EmotionCategoryName = s.EmotionCategoryName, + EmotionCategoryImg = s.EmotionCategoryImg, + IsPopular = s.IsPopular, + EmotionCategoryViewsNum = s.EmotionCategoryViewsNum, + EmotionCategorySort = s.EmotionCategorySort, + ParentName = c.EmotionCategoryName, + }); + + return await query.ToTreeAsync(it => it.Children, it => it.EmotionCategoryParentGuid, 0); + } + + /// + /// 查询表情包分类详情(Api) + /// + /// + /// + public async Task GetEmotionCategoryDetails(EmotionCategoryDtoApi parm) + { + + var query = _EmotionCategoryRepository + .Queryable() + .Where(s => s.EmotionCategoryGuid == parm.EmotionCategoryGuid) + .Select(s => new EmotionCategoryApiDetailsVo + { + EmotionCategoryId = s.EmotionCategoryId, + EmotionCategoryGuid = s.EmotionCategoryGuid, + EmotionCategoryParentGuid = s.EmotionCategoryParentGuid, + EmotionCategoryAncestralGuid = s.EmotionCategoryAncestralGuid, + EmotionCategoryName = s.EmotionCategoryName, + EmotionCategoryImg = s.EmotionCategoryImg, + IsPopular = s.IsPopular, + EmotionCategoryViewsNum = s.EmotionCategoryViewsNum, + EmotionCategorySort = s.EmotionCategorySort, + }).Take(1); + + + return await query.ToJsonAsync(); + } + + + #endregion + + } +} diff --git a/ARW.Service/Api/IBusinessService/EmotionManage/EmotionCategorys/IEmotionCategoryServiceApi.cs b/ARW.Service/Api/IBusinessService/EmotionManage/EmotionCategorys/IEmotionCategoryServiceApi.cs new file mode 100644 index 0000000..bed7c65 --- /dev/null +++ b/ARW.Service/Api/IBusinessService/EmotionManage/EmotionCategorys/IEmotionCategoryServiceApi.cs @@ -0,0 +1,45 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using ARW.Model; +using ARW.Model.Dto.Api.EmotionManage.EmotionCategorys; +using ARW.Model.Models.Business.EmotionManage.EmotionCategorys; +using ARW.Model.Vo.Api.EmotionManage.EmotionCategorys; + +namespace ARW.Service.Api.IBusinessService.EmotionManage.EmotionCategorys +{ + /// + /// 表情包分类接口类Api + /// + /// @author lwh + /// @date 2023-10-29 + /// + public interface IEmotionCategoryServiceApi : IBaseService + { + + /// + /// 获取热门表情包分类列表(Api) + /// + /// + /// + Task> GetHotEmotionCategoryListApi(EmotionCategoryQueryDtoApi parm); + + /// + /// 获取表情包分类列表(Api) + /// + /// + /// + Task> GetEmotionCategoryListApi(EmotionCategoryQueryDtoApi parm); + + /// + /// 获取表情包分类树形列表(Api) + /// + /// + /// + Task> GetEmotionCategoryTreeListApi(EmotionCategoryQueryDtoApi parm); + + + } +} diff --git a/ARW.WebApi/Controllers/Api/EmotionManage/EmotionCategorys/EmotionCategoryApiController.cs b/ARW.WebApi/Controllers/Api/EmotionManage/EmotionCategorys/EmotionCategoryApiController.cs new file mode 100644 index 0000000..3068cbb --- /dev/null +++ b/ARW.WebApi/Controllers/Api/EmotionManage/EmotionCategorys/EmotionCategoryApiController.cs @@ -0,0 +1,87 @@ +using Infrastructure; +using Infrastructure.Attribute; +using Infrastructure.Enums; +using Infrastructure.Model; +using Mapster; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using ARW.Admin.WebApi.Extensions; +using ARW.Admin.WebApi.Filters; +using ARW.Common; +using ARW.Admin.WebApi.Controllers; +using ARW.Model.Dto.Api.EmotionManage.EmotionCategorys; +using ARW.Service.Api.IBusinessService.EmotionManage.EmotionCategorys; +using ARW.Model.Models.Business.EmotionManage.EmotionCategorys; +using ARW.Model.Vo.Api.EmotionManage.EmotionCategorys; +using Microsoft.AspNetCore.Authorization; +using Geocoding; + +namespace ARW.WebApi.Controllers.Api.EmotionManage.EmotionCategorys +{ + /// + /// 表情包分类控制器Api + /// + /// @author lwh + /// @date 2023-10-29 + /// + [Verify] + [Route("api/[controller]")] + public class EmotionCategoryApiController : BaseController + { + private readonly IEmotionCategoryServiceApi _EmotionCategoryServiceApi; + + /// + /// 依赖注入 + /// + /// 表情包分类表情包分类Api服务 + public EmotionCategoryApiController(IEmotionCategoryServiceApi EmotionCategoryServiceApi) + { + _EmotionCategoryServiceApi = EmotionCategoryServiceApi; + } + + + /// + /// 获取热门表情包分类列表(Api) + /// + /// 查询参数 + /// + [HttpGet("getHotEmotionCategoryList")] + public async Task GetHotEmotionCategoryListApi([FromQuery] EmotionCategoryQueryDtoApi parm) + { + var res = await _EmotionCategoryServiceApi.GetHotEmotionCategoryListApi(parm); + + return SUCCESS(res); + } + + + /// + /// 获取表情包分类列表(Api) + /// + /// 查询参数 + /// + [HttpGet("getEmotionCategoryList")] + public async Task GetEmotionCategoryListApi([FromQuery] EmotionCategoryQueryDtoApi parm) + { + var res = await _EmotionCategoryServiceApi.GetEmotionCategoryListApi(parm); + + return SUCCESS(res); + } + + + /// + /// 获取表情包分类树形列表(Api) + /// + /// 查询参数 + /// + [HttpGet("getEmotionCategoryTreeList")] + public async Task GetEmotionCategoryTreeListApi([FromQuery] EmotionCategoryQueryDtoApi parm) + { + var res = await _EmotionCategoryServiceApi.GetEmotionCategoryTreeListApi(parm); + if (res == null) + res = new List(); + + return SUCCESS(res); + } + + } +} diff --git a/ARW.WebApi/appsettings.json b/ARW.WebApi/appsettings.json index 7782864..6eca33f 100644 --- a/ARW.WebApi/appsettings.json +++ b/ARW.WebApi/appsettings.json @@ -145,22 +145,22 @@ "WeixinAppSecret": "9d0ba50302d9ae27916314605b9aa04e", //公众号秘钥 //微信支付V3 - "TenPayV3_AppId": "wx8b03fffabbbfe804", // 小程序AppId - "TenPayV3_AppSecret": "233a99954667ccfd6697dd3d31743fde", // 小程序AppSecret + "TenPayV3_AppId": "wxcdeaf70fb4239637", // 小程序AppId + "TenPayV3_AppSecret": "38cd5c14af77f86d505437e706633bee", // 小程序AppSecret "TenPayV3_SubAppId": "", //子小程序AppId,没有可留空 "TenPayV3_SubAppSecret": "", //子小程序AppSecret,没有可留空 - "TenPayV3_MchName": "阿尔文电商", //商户名称 - "TenPayV3_MchId": "1645875842", //商户号 + "TenPayV3_MchName": "", //商户名称 + "TenPayV3_MchId": "", //商户号 "TenPayV3_SubMchId": "", //子商户,没有可留空 "TenPayV3_Key": "", // (旧) Key - "TenPayV3_CertPath": "D:\\.Net\\Aerwen\\micro_mall_api\\wecaht_information\\cert\\apiclient_cert.p12", //支付证书物理路径,如:D:\\cert\\apiclient_cert.p12 - "TenPayV3_CertSecret": "1645875842", //支付证书密码(原始密码和 MchId 相同) - "TenPayV3_TenpayNotify": "http://shop.api.aerwen.net/api/WxPay/Notify", // 回调方法 - "TenPayV3_RefundNotify": "http://shop.api.aerwen.net/api/WxPay/refundNotifyUrl", // 退款回调方法 - "TenPayV3_WxOpenNotify": "http://shop.api.aerwen.net/api/WxPay/Notify", // 小程序回调方法 - "TenPayV3_PrivateKey": "MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQC7wzMe6ZBFh+Zsa4cZf0s2dfMfDlmbGD7KEly6l1aK42YsR+5VpFcB+TJH3pVAsRO0X//mMrQXDqlAzha8PgMKa5PuSc6LevfUaX6nHf454AwaTXc3CHdhClNbrHdaAqh+LqxvrAJwZydrBGwI9IgW73Ze0oFWiNGt7aLhnH30CxC1vmHkq/BrTsV7qUVenjJmmxdSR3SwtRI1IdeWOdTXasR4LU5hROvnVs/HIjzQTp+J3XMwf4zaOZgWTqz+23KZhuCVE9ZXe+quJCgWvuT+O8Do9SyG5iAZMlLg6nZYGy3L6cke/Am3KZDD9cUwQI+uS3z3gF0TYiG8fQVoJl25AgMBAAECggEBAJ+9diR6eO9uqy7aXFno3kg7GNf3EWzNt72a2aE1V79Zr3dEyxO5ePyI0aorR7d971GpysBBqs1i/8POkbEc4OFgnL5BtKMdvvLLvaDX942tex51gVMktMuuSTTZCcFeOZMAiluHb5vJZtO5M2B7CbzZhU8usDK6vAjI/6YJyW5w9cp9JLQwRGHe4P9aSbqlCE0swMDzdpGCvXB6GTSlATQtNkjnaPeZpv1HtOgJk72HNV56BY55zsYSrhTA+7Pd5jKCGPdQry84RkBnbTzM/BlFBfR5LXzwCH/cRBz3cgdhoklxT730oBnbaHDERzan4GbDY7pKqF6bIM8mJou2AbECgYEA6RikdNXFmbmuJ8GDgt/wtuEAsEQLovoCw2KFGGMk1Uu5rZJ908OKJ0aTzMdTXQEz4+QBqstJNzg2VA1blnTw/06l0RjprcJ0Ibq9BB0vCfFjR2R3OhiZlq/KjFHIeJ14+qhKKQlZ+inCL4G5VGRcR2MuHCmq3Msa6wAkCBMp7vsCgYEAzjY4p9TldFg+qJIv2x53Gz0SbqIA3g0L08tSvlxI2sWkluWMk1KVU6pMsInL/eogEGqYV/n1kjjTVJp75G7fxThdeO9BUxlpwmjTYXGlMUkLGB3/LXw//IKi6dWDJoZUW60z/yYfsPnM9/eYLXRF4dsHlb6nJvISXCLjZ4OdN9sCgYAPhJd2O8ES8dyZQvXJYbU5x5LvKSiJKhHDBi0MKZWLKaZr2sPLtEnfQYCXcnGnUGwu8L/3qd7u8SwUvmrpglGE/axmVj1AVyC6Gh95RaQbClnsp9CUKo0XDg7y9oLdHMawEUIWp0u5LsyBsyYuaxwFmKG6OD/qwQ7CtFixvOzevwKBgHZC0FEoHoOPzDd+xyVCHoqnhred/yNZlgvb0lNLt5iHurGzaeBffzYhN6QTEsNHDyZ7C22A853tKv2dLyo9j+WaQrkFdZBDxcxxs7BxrYxLWKp3IY4jcMrO3MF/6pwgc6az+Vr9sTUcvbkD7Ok8gotZwsrVMSV7tJ3UgFgwOez7AoGAB2TKMM7QrVfotvDtcDR689NvJ55RGWiKZv/BzsT5zE7LJH+0jwWl1jy24I1DSGgsPmLAt29+VLfgwfAyCz5ytMgvx6iu+cnsyriK3/SNdFZtymUegkIdzSONXslVZYqFsBKQz/M+BmgPvnQao/e8r8eWpIBZLBr93ud+LpDmEio=", //(新)证书私钥 - "TenPayV3_SerialNumber": "6C34D380F6B239BEE351D9EB4AD2655FF38D4AAA", //(新)证书序列号 - "TenPayV3_ApiV3Key": "3aF7gH1jKmN5pR8tU2xW4z7C9vY0BqXr" //(新)APIv3 密钥 + "TenPayV3_CertPath": "", //支付证书物理路径,如:D:\\cert\\apiclient_cert.p12 + "TenPayV3_CertSecret": "", //支付证书密码(原始密码和 MchId 相同) + "TenPayV3_TenpayNotify": "", // 回调方法 + "TenPayV3_RefundNotify": "", // 退款回调方法 + "TenPayV3_WxOpenNotify": "", // 小程序回调方法 + "TenPayV3_PrivateKey": "", //(新)证书私钥 + "TenPayV3_SerialNumber": "", //(新)证书序列号 + "TenPayV3_ApiV3Key": "" //(新)APIv3 密钥 } }