Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.6.8.14 修复 PayScoreApis.QueryServiceOrderAsync() 重复代码 感谢 [QQ1群 Tony] #2778

Merged
merged 1 commit into from
Feb 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ and limitations under the License.

创建标识:Senparc - 20210926

修改标识:Senparc - 20220202
修改描述:v0.6.8.14 修复 PayScoreApis.QueryServiceOrderAsync() 重复代码
----------------------------------------------------------------*/

using Senparc.CO2NET.Extensions;
Expand Down Expand Up @@ -214,7 +216,7 @@ public async Task<QueryServiceOrderReturnJson> QueryServiceOrderAsync(string out

var url = ReurnPayApiUrl($"{Senparc.Weixin.Config.TenPayV3Host}/{{0}}v3/payscore/serviceorder?service_id={service_id}&appid={appid}");
url += query_id is not null ? $"&query_id={query_id}" : "";
url += query_id is not null ? $"&query_id={query_id}" : "";
//url += query_id is not null ? $"&query_id={query_id}" : "";

TenPayApiRequest tenPayApiRequest = new(_tenpayV3Setting);
return await tenPayApiRequest.RequestAsync<QueryServiceOrderReturnJson>(url, null, timeOut, ApiRequestMethod.GET);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
v0.6.8.7 优化 TenPayApiResultCode 获取逻辑,修复 TryGetCode() 方法中当匹配不到预设错误信息时,返回 null 的问题
v0.6.8.8 修复 RefundQueryAsync() URL 问题
v0.6.8.13 修复验签时 204(NoContent)情况下的异常
v0.6.8.14 修复 PayScoreApis.QueryServiceOrderAsync() 重复代码
</PackageReleaseNotes>
<RepositoryUrl>https://github.com/JeffreySu/WeiXinMPSDK</RepositoryUrl>
</PropertyGroup>
Expand Down