style: format

This commit is contained in:
Fu Diwei 2022-05-06 20:29:27 +08:00
parent d364c1a354
commit 7e6cfa5ca3
2352 changed files with 3542 additions and 4198 deletions

View File

@ -1,7 +1,14 @@
[*.cs]
root = true
# CS1570: XML 注释出现 XML 格式错误
[*]
charset = utf-8
end_of_line = crlf
indent_size = 4
indent_style = space
tab_width = 4
trim_trailing_whitespace = true
insert_final_newline = true
[*.cs]
dotnet_diagnostic.CS1570.severity = none
# CS1591: 缺少对公共可见类型或成员的 XML 注释
dotnet_diagnostic.CS1591.severity = suggestion

View File

@ -72,7 +72,7 @@
- **变更**:修改反序列化回调通知事件的相关扩展方法 `DeserializeEventFromXml`、`DeserializeEventFromJson`,废弃其指示是否启用安全模式的参数,改为自动判定。
- **变更**:修改序列化回调通知事件的相关扩展方法 `SerializeEventToXml`、`SerializeEventToJson`,调整其指示是否启用安全模式的参数默认值,由 *false* 变为 *true*
- **变更**:修改序列化回调通知事件的相关扩展方法 `SerializeEventToXml`、`SerializeEventToJson`,调整其指示是否启用安全模式的参数默认值,由 _false_ 变为 _true_
- **变更**:移除原 `WxBizMsgCryptor` 工具类。

View File

@ -1,6 +1,6 @@
MIT License
Copyright (c) 2020-2021 RHQYZ
Copyright (c) 2020-2022 RHQYZ
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View File

@ -1088,7 +1088,6 @@
- Query Fund Settlement Details`QueryHKSettlements`
- QR Code Payment
- Order Placement`CreateHKTransactionMicroPay` / `CreateHKPartnerTransactionMicroPay`

View File

@ -1,6 +1,4 @@
using System.Collections.Generic;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /cgi-bin/express/delivery/open_msg/open_openmsg 接口的请求。</para>

View File

@ -1,6 +1,4 @@
using System.Collections.Generic;
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /cgi-bin/express/delivery/open_msg/open_query_plugin 接口的请求。</para>

View File

@ -15,6 +15,7 @@
{
public static class Types
{
[System.Obsolete]
public class Article : CgibinMaterialGetMaterialAsNewsResponse.Types.Article
{
}

View File

@ -9,6 +9,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
public static class Types
{
[System.Obsolete]
public class Article : CgibinMaterialAddNewsRequest.Types.Article
{
}

View File

@ -1,4 +1,4 @@
using System;
using System;
namespace SKIT.FlurlHttpClient.Wechat.OpenAI
{
@ -35,10 +35,10 @@ namespace SKIT.FlurlHttpClient.Wechat.OpenAI
try
{
if (!Utilities.WxBizMsgCryptor.TryParseXml(callbackXml, out string? encryptedXml))
if (!Utilities.WechatEventDataCryptor.TryParseXml(callbackXml, out string? encryptedXml))
throw new Exceptions.WechatOpenAIEventSerializationException("Encrypt event failed, because of empty encrypted data.");
callbackXml = Utilities.WxBizMsgCryptor.AESDecrypt(cipherText: encryptedXml!, encodingAESKey: client.Credentials.EncodingAESKey!, out _);
callbackXml = Utilities.WechatEventDataCryptor.AESDecrypt(cipherText: encryptedXml!, encodingAESKey: client.Credentials.EncodingAESKey!, out _);
return Utilities.XmlUtility.Deserialize<TEvent>(callbackXml);
}
catch (WechatOpenAIException)
@ -104,13 +104,13 @@ namespace SKIT.FlurlHttpClient.Wechat.OpenAI
try
{
string cipher = Utilities.WxBizMsgCryptor.AESEncrypt(
string cipher = Utilities.WechatEventDataCryptor.AESEncrypt(
plainText: xml,
encodingAESKey: client.Credentials.EncodingAESKey!,
appId: client.Credentials.AppId!
);
xml = Utilities.WxBizMsgCryptor.WrapXml(sToken: client.Credentials.Token!, sMsgEncrypt: cipher);
xml = Utilities.WechatEventDataCryptor.WrapXml(sToken: client.Credentials.Token!, sMsgEncrypt: cipher);
}
catch (Exception ex)
{

View File

@ -1,4 +1,4 @@
using System;
using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
@ -112,7 +112,7 @@ namespace SKIT.FlurlHttpClient.Wechat.OpenAI
using var fileContent = new ByteArrayContent(request.FileBytes ?? Array.Empty<byte>());
using var paramContent = new StringContent(
Utilities.WxBizMsgCryptor.AESEncrypt(
Utilities.WechatEventDataCryptor.AESEncrypt(
plainText: Utilities.XmlUtility.Serialize(request),
encodingAESKey: client.Credentials.EncodingAESKey!,
appId: client.Credentials.AppId!

View File

@ -40,7 +40,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="JWT" Version="8.9.0" />
<PackageReference Include="JWT" Version="9.0.0" />
<PackageReference Include="SKIT.FlurlHttpClient.Common" Version="2.5.0" />
</ItemGroup>

View File

@ -1,4 +1,4 @@
using System;
using System;
using JWT;
using JWT.Algorithms;
using JWT.Serializers;
@ -10,7 +10,9 @@ namespace SKIT.FlurlHttpClient.Wechat.OpenAI.Utilities
{
private static readonly Lazy<IJwtEncoder> _encoder = new Lazy<IJwtEncoder>(() =>
{
#pragma warning disable CS0618
IJwtAlgorithm algorithm = new HMACSHA256Algorithm();
#pragma warning restore CS0618
IJsonSerializer serializer = new JsonNetSerializer(new JsonSerializer() { NullValueHandling = NullValueHandling.Ignore });
IBase64UrlEncoder urlEncoder = new JwtBase64UrlEncoder();
IJwtEncoder encoder = new JwtEncoder(algorithm, serializer, urlEncoder);

View File

@ -1,4 +1,4 @@
using System;
using System;
using JWT;
using JWT.Algorithms;
using JWT.Serializers;
@ -10,7 +10,9 @@ namespace SKIT.FlurlHttpClient.Wechat.OpenAI.Utilities
{
private static readonly Lazy<IJwtEncoder> _encoder = new Lazy<IJwtEncoder>(() =>
{
#pragma warning disable CS0618
IJwtAlgorithm algorithm = new HMACSHA256Algorithm();
#pragma warning restore CS0618
IJsonSerializer serializer = new JsonNetSerializer(new JsonSerializer() { NullValueHandling = NullValueHandling.Ignore });
IBase64UrlEncoder urlEncoder = new JwtBase64UrlEncoder();
IJwtEncoder encoder = new JwtEncoder(algorithm, serializer, urlEncoder);

View File

@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
@ -10,7 +10,7 @@ using System.Xml;
namespace SKIT.FlurlHttpClient.Wechat.OpenAI.Utilities
{
public static class WxBizMsgCryptor
internal static class WechatEventDataCryptor
{
private const int AES_KEY_SIZE = 256;
private const int AES_BLOCK_SIZE = 128;

View File

@ -1,4 +1,4 @@
using System;
using System;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
@ -103,7 +103,7 @@ namespace SKIT.FlurlHttpClient.Wechat.OpenAI
if (data is WechatOpenAIPlatformRequest.Serialization.IEncryptedXmlable)
{
string plainXml = Utilities.XmlUtility.Serialize(data);
string encryptedXml = Utilities.WxBizMsgCryptor.AESEncrypt(plainText: plainXml, encodingAESKey: Credentials.EncodingAESKey!, appId: Credentials.AppId!);
string encryptedXml = Utilities.WechatEventDataCryptor.AESEncrypt(plainText: plainXml, encodingAESKey: Credentials.EncodingAESKey!, appId: Credentials.AppId!);
data = new { encrypt = encryptedXml };
}

View File

@ -2,7 +2,6 @@
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Flurl;
using Flurl.Http;
namespace SKIT.FlurlHttpClient.Wechat.TenpayV2

View File

@ -1,4 +1,4 @@
using System;
using System;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
@ -37,7 +37,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
IFlurlRequest flurlReq = client
.CreateRequest(request, HttpMethod.Post, "marketing", "bank", "packages", request.PackageId, "tasks");
using var httpContent = Utilities.FileHttpContentBuilder.Build(fileName: request.FileName, fileBytes: request.FileBytes, fileContentType: request.FileContentType, fileMetaJson: client.JsonSerializer.Serialize(request));
using var httpContent = Utilities.FileHttpContentBuilder.Build(fileName: request.FileName, fileBytes: request.FileBytes!, fileContentType: request.FileContentType, fileMetaJson: client.JsonSerializer.Serialize(request));
return await client.SendRequestAsync<Models.UploadMarketingBankPackagesTasksResponse>(flurlReq, httpContent: httpContent, cancellationToken: cancellationToken);
}
}

View File

@ -28,11 +28,7 @@
"bind_openid": false,
"can_share": true,
"can_give_friend": true,
"location_id_list": [
123,
12321,
345345
],
"location_id_list": [123, 12321, 345345],
"center_title": "顶部居中按钮",
"center_sub_title": "按钮下方的wording",
"center_url": "www.qq.com",
@ -86,32 +82,24 @@
"deal_detail": "以下锅底2选1有菌王锅、麻辣锅、大骨锅、番茄锅、清补 凉锅、酸菜鱼锅可选):\n大锅1份 12元\n小锅2份 16元 "
},
"cash": {
"base_info": {
},
"advanced_info": {
},
"base_info": {},
"advanced_info": {},
"least_cost": 1000,
"reduce_cost": 100
},
"discount": {
"base_info": {
},
"advanced_info": {
},
"base_info": {},
"advanced_info": {},
"discount": 30
},
"gift": {
"base_info": {
},
"advanced_info": {
},
"base_info": {},
"advanced_info": {},
"gift": "可兑换音乐木盒一个"
},
"general_coupon": {
"base_info": {
},
"advanced_info": {
},
"base_info": {},
"advanced_info": {},
"default_detail": "优惠券专用,填写优惠详情"
},
"general_card": {
@ -141,9 +129,7 @@
"get_limit": 0,
"use_custom_code": false,
"can_give_friend": true,
"location_id_list": [
213059884
],
"location_id_list": [213059884],
"center_title": "顶部居中按钮",
"center_sub_title": "按钮下方的wording",
"center_url": "www.qq.com",
@ -200,10 +186,7 @@
"get_limit": 3,
"use_custom_code": false,
"can_give_friend": true,
"location_id_list": [
123,
12321
],
"location_id_list": [123, 12321],
"custom_url_name": "立即使用",
"custom_url": "http://weixin.qq.com",
"custom_url_sub_title": "6个汉字tips",
@ -314,18 +297,15 @@
"meeting_detail": "会议时间xxx;地点xxx "
},
"scenic_ticket": {
"base_info": {
},
"base_info": {},
"ticket_class": "全日票"
},
"movie_ticket": {
"base_info": {
},
"base_info": {},
"detail": "电影名xxx电影简介xxx"
},
"boarding_pass": {
"base_info": {
},
"base_info": {},
"from": "成都",
"to": "广州",
"flight": "CE123",

View File

@ -18,11 +18,7 @@
"color": "#10AD61",
"notice": "到店使用",
"description": "",
"location_id_list": [
218384742,
402521653,
402521608
],
"location_id_list": [218384742, 402521653, 402521608],
"get_limit": 3,
"can_share": true,
"can_give_friend": true,

View File

@ -1,5 +1,5 @@
{
"errcode": 0,
"errmsg": "ok",
"content": "<iframeclass=\"res_iframecard_iframejs_editor_card\"data-src=\"http: \/\/mp.weixin.qq.com\/bizmall\/appmsgcard?action=show&biz=MjM5OTAwODk4MA%3D%3D&cardid=p1Pj9jnXTLf2nF7lccYScFUYqJ0&wechat_card_js=1#wechat_redirect\">"
"content": "<iframeclass=\"res_iframecard_iframejs_editor_card\"data-src=\"http: //mp.weixin.qq.com/bizmall/appmsgcard?action=show&biz=MjM5OTAwODk4MA%3D%3D&cardid=p1Pj9jnXTLf2nF7lccYScFUYqJ0&wechat_card_js=1#wechat_redirect\">"
}

View File

@ -1,10 +1,4 @@
{
"openid": [
"o1Pj9jmZvwSyyyyyyBa4aULW2mA",
"o1Pj9jmZvxxxxxxxxxULW2mA"
],
"username": [
"afdvvf",
"abcd"
]
"openid": ["o1Pj9jmZvwSyyyyyyBa4aULW2mA", "o1Pj9jmZvxxxxxxxxxULW2mA"],
"username": ["afdvvf", "abcd"]
}

View File

@ -2,7 +2,7 @@
"card_id": "ph_gmt7cUVrlRk8swPwx7aDyF-pg",
"member_card": {
"base_info": {
"logo_url": "http:\/\/www.supadmin.cn\/uploads\/allimg\/120216\/1_120216214725_1.jpg",
"logo_url": "http://www.supadmin.cn/uploads/allimg/120216/1_120216214725_1.jpg",
"color": "Color010",
"notice": "使用时向服务员出示此券",
"service_phone": "020-88888888",
@ -19,9 +19,7 @@
"prerogative": "",
"activate_msg_operation": {
"url_cell": {
"card_id_list": [
"pbLatjhcI6XUxJWA0Au3Gaq5eFPs"
],
"card_id_list": ["pbLatjhcI6XUxJWA0Au3Gaq5eFPs"],
"end_time": 1492724561,
"text": "恭喜你获得一张50元代金券",
"url": "www.qq.com"

View File

@ -1,10 +1,4 @@
{
"card_id": "pDF3iY0_dVjb_Pua96MMewA96qvA",
"code": [
"11111",
"22222",
"33333",
"44444",
"55555"
]
"code": ["11111", "22222", "33333", "44444", "55555"]
}

View File

@ -1,10 +1,4 @@
{
"card_id": "pDF3iY0_dVjb_Pua96MMewA96qvA",
"code": [
"11111",
"22222",
"33333",
"44444",
"55555"
]
"code": ["11111", "22222", "33333", "44444", "55555"]
}

View File

@ -14,33 +14,20 @@
{
"type": "FORM_FIELD_RADIO",
"name": "兴趣",
"values": [
"钢琴",
"舞蹈",
"足球"
]
"values": ["钢琴", "舞蹈", "足球"]
},
{
"type": "FORM_FIELD_SELECT",
"name": "喜好",
"values": [
"郭敬明",
"韩寒",
"南派三叔"
]
"values": ["郭敬明", "韩寒", "南派三叔"]
},
{
"type": "FORM_FIELD_CHECK_BOX",
"name": "职业",
"values": [
"赛车手",
"旅行家"
]
"values": ["赛车手", "旅行家"]
}
],
"common_field_id_list": [
"USER_FORM_INFO_FLAG_MOBILE"
]
"common_field_id_list": ["USER_FORM_INFO_FLAG_MOBILE"]
},
"optional_form": {
"can_modify": false,
@ -48,8 +35,6 @@
"USER_FORM_INFO_FLAG_LOCATION",
"USER_FORM_INFO_FLAG_BIRTHDAY"
],
"custom_field_list": [
"喜欢的电影"
]
"custom_field_list": ["喜欢的电影"]
}
}

View File

@ -2,10 +2,7 @@
"rule_info": {
"type": "RULE_TYPE_PAY_MEMBER_CARD",
"base_info": {
"mchid_list": [
"123",
"456"
],
"mchid_list": ["123", "456"],
"begin_time": 1480317217,
"end_time": 1580317217
},

View File

@ -11,8 +11,5 @@
"occupy_appid": "appid"
}
],
"succ_mchid_list": [
"123",
"456"
]
"succ_mchid_list": ["123", "456"]
}

View File

@ -6,10 +6,7 @@
{
"type": "RULE_TYPE_PAY_MEMBER_CARD",
"base_info": {
"mchid_list": [
"123",
"456"
],
"mchid_list": ["123", "456"],
"begin_time": 1480317217,
"end_time": 1580317217,
"status": "RULE_STATUS_OK",

View File

@ -4,10 +4,7 @@
"rule_info": {
"type": "RULE_TYPE_PAY_MEMBER_CARD",
"base_info": {
"mchid_list": [
"123",
"456"
],
"mchid_list": ["123", "456"],
"begin_time": 1480317217,
"end_time": 1580317217,
"status": "RULE_STATUS_OK",

View File

@ -1,11 +1,5 @@
{
"count": 2,
"openid": [
"oABC",
"oXYZ"
],
"tagid_list": [
"123",
"456"
]
"openid": ["oABC", "oXYZ"],
"tagid_list": ["123", "456"]
}

View File

@ -45,8 +45,8 @@
"address_detail": "2号楼202",
"city": "北京市",
"coordinate_type": 0,
"lat": 40.1529600000,
"lng": 116.5060300000,
"lat": 40.15296,
"lng": 116.50603,
"name": "老王",
"phone": "18512345678"
},
@ -55,8 +55,8 @@
"address_detail": "1号楼101",
"city": "北京市",
"coordinate_type": 0,
"lat": 40.4486120000,
"lng": 116.3830750000,
"lat": 40.448612,
"lng": 116.383075,
"name": "刘一",
"phone": "13712345678"
},

View File

@ -45,8 +45,8 @@
"address_detail": "2号楼202",
"city": "北京市",
"coordinate_type": 0,
"lat": 40.1529600000,
"lng": 116.5060300000,
"lat": 40.15296,
"lng": 116.50603,
"name": "老王",
"phone": "18512345678"
},
@ -55,8 +55,8 @@
"address_detail": "1号楼101",
"city": "北京市",
"coordinate_type": 0,
"lat": 40.4486120000,
"lng": 116.3830750000,
"lat": 40.448612,
"lng": 116.383075,
"name": "刘一",
"phone": "13712345678"
},

View File

@ -45,8 +45,8 @@
"address_detail": "2号楼202",
"city": "北京市",
"coordinate_type": 0,
"lat": 40.1529600000,
"lng": 116.5060300000,
"lat": 40.15296,
"lng": 116.50603,
"name": "老王",
"phone": "18512345678"
},
@ -55,8 +55,8 @@
"address_detail": "1号楼101",
"city": "北京市",
"coordinate_type": 0,
"lat": 40.4486120000,
"lng": 116.3830750000,
"lat": 40.448612,
"lng": 116.383075,
"name": "刘一",
"phone": "13712345678"
},

View File

@ -1,8 +1,5 @@
{
"guide_account": "wx_account",
"openid": "xxxxxxx",
"openid_list": [
"xxxxxxx",
"yyyyyyyy"
]
"openid_list": ["xxxxxxx", "yyyyyyyy"]
}

View File

@ -2,8 +2,5 @@
"old_guide_account": "wx_account",
"new_guide_account": "wx_account",
"openid": "xxxxxxx",
"openid_list": [
"xxxxxxx",
"yyyyyyyy"
]
"openid_list": ["xxxxxxx", "yyyyyyyy"]
}

View File

@ -3,9 +3,7 @@
"task_name": "testtask_name111",
"task_remark": "testtask_remark111",
"push_time": 1589010582,
"openid": [
"yyyyyyyy"
],
"openid": ["yyyyyyyy"],
"material": [
{
"type": 1,

View File

@ -1,11 +1,10 @@
{
"errcode": 0,
"errmsg": "ok",
"task_result": [{
"task_result": [
{
"task_id": 1332519773019865088,
"openid": [
"xxxxxx",
"yyyyyy"
]
}]
"openid": ["xxxxxx", "yyyyyy"]
}
]
}

View File

@ -3,9 +3,7 @@
"task_name": "testtask_name111",
"task_remark": "testtask_remark111",
"push_time": 1589010582,
"openid": [
"yyyyyyyy"
],
"openid": ["yyyyyyyy"],
"material": [
{
"type": 1,

View File

@ -1,9 +1,6 @@
{
"guide_account": "wx_account",
"openid": "xxxxxxx",
"openid_list": [
"xxxxxxx",
"yyyyyyyy"
],
"openid_list": ["xxxxxxx", "yyyyyyyy"],
"tag_value": "tag1"
}

View File

@ -1,9 +1,6 @@
{
"guide_account": "wx_account",
"openid": "xxxxxxx",
"openid_list": [
"xxxxxxx",
"yyyyyyyy"
],
"openid_list": ["xxxxxxx", "yyyyyyyy"],
"tag_value": "tag1"
}

View File

@ -8,11 +8,7 @@
"content": "CONTENT"
},
"images": {
"media_ids": [
"aaa",
"bbb",
"ccc"
],
"media_ids": ["aaa", "bbb", "ccc"],
"recommend": "xxx",
"need_open_comment": 1,
"only_fans_can_comment": 0

View File

@ -1,18 +1,11 @@
{
"touser": [
"OPENID1",
"OPENID2"
],
"touser": ["OPENID1", "OPENID2"],
"msgtype": "mpnews",
"text": {
"content": "CONTENT"
},
"images": {
"media_ids": [
"aaa",
"bbb",
"ccc"
],
"media_ids": ["aaa", "bbb", "ccc"],
"recommend": "xxx",
"need_open_comment": 1,
"only_fans_can_comment": 0

View File

@ -8,5 +8,4 @@
"request_body": "",
"response_body": "{\"errcode\":45009,\"errmsg\":\"reach max api daily quota limit rid: 617682e0-09059ac5-34a8e2ea\"}"
}
}

View File

@ -2,11 +2,7 @@
"total": 23000,
"count": 10000,
"data": {
"openid": [
"OPENID1",
"OPENID2",
"OPENID10000"
]
"openid": ["OPENID1", "OPENID2", "OPENID10000"]
},
"next_openid": "OPENID10000"
}

View File

@ -21,7 +21,6 @@
"subscribe_scene": "ADD_SCENE_QR_CODE",
"qr_scene": 98765,
"qr_scene_str": ""
},
{
"subscribe": 0,

View File

@ -1,6 +1,4 @@
{
"env": "test2-4a89da",
"fileid_list": [
"cloud://test2-4a89da.7465-test2-4a89da/A.png"
]
"fileid_list": ["cloud://test2-4a89da.7465-test2-4a89da/A.png"]
}

View File

@ -2,8 +2,6 @@
"errcode": 0,
"errmsg": "ok",
"open": true,
"api_whitelist": [
"/*"
],
"api_whitelist": ["/*"],
"version": 2
}

View File

@ -11,9 +11,7 @@
},
{
"appid": "wx5fe6bb43205e9e70",
"env_list": [
"test-env-6gni9ity244a6ea3"
]
"env_list": ["test-env-6gni9ity244a6ea3"]
}
],
"err_list": []

View File

@ -1,5 +1,9 @@
{
"functionname": "testfunc",
"envs": [ "dev-3gewtf9c10f60c76", "mytestenv-7gniuaq95b51dcdc", "mytestenv-7gniuaq95b51dcdc22" ],
"envs": [
"dev-3gewtf9c10f60c76",
"mytestenv-7gniuaq95b51dcdc",
"mytestenv-7gniuaq95b51dcdc22"
],
"zipfile": "UEsDBBQACAAIALB+WU4AAAAAAAAAAAAAAAAIABAAaW5kZXguanNVWAwAAZ9zXPuec1z1ARQAdY7BCsIwEETv+Yoll6ZQ+wOhnv0DD+IhxkWC664kWwmI/27V3IpzGuYNw3RzQSiaU9TOG6x3yVrGW0gMEzh8IOsAUVixfkwgOoV47WHawtPAooUVIRxJLs7ukEhgL5nOtl/h79qf+GBZeIM1FbXHdac9aKC9cDwTDfCb9eblzRtQSwcI6+pcr4AAAADOAAAAUEsBAhUDFAAIAAgAsH5ZTuvqXK+AAAAAzgAAAAgADAAAAAAAAAAAQKSBAAAAAGluZGV4LmpzVVgIAAGfc1z7nnNcUEsFBgAAAAABAAEAQgAAAMYAAAAAAA=="
}

View File

@ -1,5 +1,9 @@
{
"functionname": "testfunc",
"envs": [ "dev-3gewtf9c10f60c76", "mytestenv-7gniuaq95b51dcdc", "mytestenv-7gniuaq95b51dcdc22" ],
"envs": [
"dev-3gewtf9c10f60c76",
"mytestenv-7gniuaq95b51dcdc",
"mytestenv-7gniuaq95b51dcdc22"
],
"zipfile": "UEsDBBQACAAIALB+WU4AAAAAAAAAAAAAAAAIABAAaW5kZXguanNVWAwAAZ9zXPuec1z1ARQAdY7BCsIwEETv+Yoll6ZQ+wOhnv0DD+IhxkWC664kWwmI/27V3IpzGuYNw3RzQSiaU9TOG6x3yVrGW0gMEzh8IOsAUVixfkwgOoV47WHawtPAooUVIRxJLs7ukEhgL5nOtl/h79qf+GBZeIM1FbXHdac9aKC9cDwTDfCb9eblzRtQSwcI6+pcr4AAAADOAAAAUEsBAhUDFAAIAAgAsH5ZTuvqXK+AAAAAzgAAAAgADAAAAAAAAAAAQKSBAAAAAGluZGV4LmpzVVgIAAGfc1z7nnNcUEsFBgAAAAABAAEAQgAAAMYAAAAAAA=="
}

View File

@ -9,7 +9,5 @@
"value": "1"
}
],
"group_list": [
"3"
]
"group_list": ["3"]
}

View File

@ -69,7 +69,6 @@
"product_img": "http://mmbiz.qpic.cn/mmbiz_gif/KfrZwACMrmxj8XRiaTUzFNsTkWdTEJySicGKMHxuG0ibDfjTtb6ZIjNgakbnKq569TbBjvicSnWdnt46gEKjWe6Vcg/0?wx_fmt=gif"
}
]
}
]
}

View File

@ -1,8 +1,6 @@
{
"product_base": {
"category_id": [
"537074298"
],
"category_id": ["537074298"],
"property": [
{
"id": "1075741879",
@ -21,10 +19,7 @@
"sku_info": [
{
"id": "1075741873",
"vid": [
"1079742386",
"1079742363"
]
"vid": ["1079742386", "1079742363"]
}
],
"main_img": "http://mmbiz.qpic.cn/mmbiz/4whpV1VZl2iccsvYbHvnphkyGtnvjD3ulEKogfsiaua49pvLfUS8Ym0GSYjViaLic0FD3vN0V8PILcibEGb2fPfEOmw/0",

View File

@ -5,9 +5,7 @@
"product_id": "pDF3iY6Kr_BV_CXaiYysoGqJhppQ",
"product_base": {
"name": "testaddproduct",
"category_id": [
"537074298"
],
"category_id": ["537074298"],
"img": [
"http://mmbiz.qpic.cn/mmbiz/4whpV1VZl2iccsvYbHvnphkyGtnvjD3ulEKogfsiaua49pvLfUS8Ym0GSYjViaLic0FD3vN0V8PILcibEGb2fPfEOmw/0"
],
@ -28,10 +26,7 @@
"sku_info": [
{
"id": "1075741873",
"vid": [
"1079742386",
"1079742363"
]
"vid": ["1079742386", "1079742363"]
}
],
"buy_limit": 10,

View File

@ -1,9 +1,7 @@
{
"product_id": "pDF3iY6Kr_BV_CXaiYysoGqJhppQ",
"product_base": {
"category_id": [
"537074298"
],
"category_id": ["537074298"],
"property": [
{
"id": "1075741879",
@ -22,10 +20,7 @@
"sku_info": [
{
"id": "1075741873",
"vid": [
"1079742386",
"1079742363"
]
"vid": ["1079742386", "1079742363"]
}
],
"main_img": "http://mmbiz.qpic.cn/mmbiz/4whpV1VZl2iccsvYbHvnphkyGtnvjD3ulEKogfsiaua49pvLfUS8Ym0GSYjViaLic0FD3vN0V8PILcibEGb2fPfEOmw/0",

View File

@ -3,7 +3,7 @@
"errmsg": "ok",
"user_state": "NORMAL",
"openid": "ont-9vjAcIdSU-LgB7ubALAVJO9U",
"path": "https:\/\/payapp.weixin.qq.com\/vehicle\/plat\/indextemplate",
"path": "https://payapp.weixin.qq.com/vehicle/plat/indextemplate",
"plate_number_info": [],
"authorize_package": {
"mch_id": "1800004561",

View File

@ -1,20 +1,10 @@
{
"errcode": 0,
"errmsg": "ok",
"requestdomain": [
"https://www.example.com"
],
"wsrequestdomain": [
"wss://www.qq.com"
],
"requestdomain": ["https://www.example.com"],
"wsrequestdomain": ["wss://www.qq.com"],
"uploaddomain": [],
"downloaddomain": [
"https://www.qq.com"
],
"udpdomain": [
"udp://www.example.com"
],
"bizdomain": [
"https://www.qq.com"
]
"downloaddomain": ["https://www.qq.com"],
"udpdomain": ["udp://www.example.com"],
"bizdomain": ["https://www.qq.com"]
}

View File

@ -4,10 +4,7 @@
"discount_info": {
"discount_condition": {
"product_cnt": 10,
"product_ids": [
1673110742,
1673110743
],
"product_ids": [1673110742, 1673110743],
"product_price": 100
},
"discount_fee": 50,

View File

@ -51,7 +51,6 @@
"second_val_amount": 1,
"second_price": 400
}
]
},
"is_default": 0,

View File

@ -52,7 +52,6 @@
"second_val_amount": 1,
"second_price": 400
}
]
},
"is_default": 0,

View File

@ -1,5 +1,6 @@
{
"product": [{
"product": [
{
"pid": "pid001",
"image_info": {
"main_image_list": [
@ -128,5 +129,6 @@
}
]
}
}]
}
]
}

View File

@ -7,16 +7,26 @@
"brand_management_type": 2,
"commodity_origin_type": 2,
"brand_wording": "346225226351203275",
"sale_authorization": [ "https://img.zhls.qq.com/3/609b98f7e0ff43d59ce6d9cca636c3e0.jpg" ],
"trademark_registration_certificate": [ "https://img.zhls.qq.com/3/609b98f7e0ff43d59ce6d9cca636c3e0.jpg" ],
"trademark_change_certificate": [ "https://img.zhls.qq.com/3/609b98f7e0ff43d59ce6d9cca636c3e0.jpg" ],
"sale_authorization": [
"https://img.zhls.qq.com/3/609b98f7e0ff43d59ce6d9cca636c3e0.jpg"
],
"trademark_registration_certificate": [
"https://img.zhls.qq.com/3/609b98f7e0ff43d59ce6d9cca636c3e0.jpg"
],
"trademark_change_certificate": [
"https://img.zhls.qq.com/3/609b98f7e0ff43d59ce6d9cca636c3e0.jpg"
],
"trademark_registrant": "https://img.zhls.qq.com/3/609b98f7e0ff43d59ce6d9cca636c3e0.jpg",
"trademark_registrant_nu": "1249305",
"trademark_authorization_period": "2020-03-25 12:05:25",
"trademark_registration_application": [ "https://img.zhls.qq.com/3/609b98f7e0ff43d59ce6d9cca636c3e0.jpg" ],
"trademark_registration_application": [
"https://img.zhls.qq.com/3/609b98f7e0ff43d59ce6d9cca636c3e0.jpg"
],
"trademark_applicant": "张三",
"trademark_application_time": "2020-03-25 12:05:25",
"imported_goods_form": [ "https://img.zhls.qq.com/3/609b98f7e0ff43d59ce6d9cca636c3e0.jpg" ]
"imported_goods_form": [
"https://img.zhls.qq.com/3/609b98f7e0ff43d59ce6d9cca636c3e0.jpg"
]
}
}
}

View File

@ -9,15 +9,13 @@
"https://store.mp.video.tencent-cloud.com/xxxxxxxxxxxxxxxxxxxxxxxxxx"
]
},
"category_info_list":
[
"category_info_list": [
{
"first_category_id": 304,
"first_category_name": "商家自营",
"second_category_id": 321,
"second_category_name": "食品",
"certificate_url":
[
"certificate_url": [
"https://store.mp.video.tencent-cloud.com/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
]
}

View File

@ -9,9 +9,7 @@
"event_describe": "用户发起投诉",
"material_info": {
"content": "测试",
"media_url_list": [
"url"
]
"media_url_list": ["url"]
},
"state": 230000,
"state_describe": "商家售后处理中",

View File

@ -15,10 +15,7 @@
"discount_condition": {
"product_cnt": 2,
"product_price": 5000,
"out_product_ids": [
"product_id_3",
"product_id_4"
],
"out_product_ids": ["product_id_3", "product_id_4"],
"tradein_info": {
"out_product_id": "product_id_5",
"price": 10000

View File

@ -21,11 +21,13 @@
"orderamt": 2,
"refund_reason_type": 3,
"refund_reason": "不想要了",
"media_list": [{
"media_list": [
{
"type": 1,
"url": "****",
"thumb_url": "****"
}],
}
],
"status": 2,
"create_time": "1650876295006",
"update_time": "1650876295006",

View File

@ -1,8 +1,5 @@
{
"aftersale_id": 123,
"refund_desc": "已协商退款",
"certificates": [
"url1",
"url2"
]
"certificates": ["url1", "url2"]
}

View File

@ -15,7 +15,6 @@
"path": "pages/productDetail/productDetail?productId=2176180",
"title": "洗洁精",
"head_img": "http://img10.360buyimg.com/n1/s450x450_jfs/t1/85865/39/13611/488083/5e590a40E4bdf69c0/55c9bf645ea2b727.jpg"
}
],
"pay_info": {

View File

@ -1,8 +1,6 @@
{
"env": "online-12345678910",
"phone_number_list": [
"+8612345678910"
],
"phone_number_list": ["+8612345678910"],
"sms_type": "Marketing",
"content": "发布了新的能力",
"path": "/index.html",

View File

@ -3,7 +3,5 @@
"url_link": "https://wxaurl.cn/xxxxxx",
"template_id": "844110",
"template_param_list": ["能力上新"],
"phone_number_list": [
"+8612345678910"
]
"phone_number_list": ["+8612345678910"]
}

View File

@ -1,6 +1,4 @@
{
"env": "test2-4a89da",
"fileid_list": [
"cloud://test2-4a89da.7465-test2-4a89da/A.png"
]
"fileid_list": ["cloud://test2-4a89da.7465-test2-4a89da/A.png"]
}

View File

@ -1,6 +1,6 @@
{
"errcode": 0,
"errmsg": "ok",
"url": "https:\/\/lambdash-1253665810.cos.ap-shanghai.myqcloud.com\/1258717764\/qbasetest-a5c40e\/login\/login_LATEST.zip?sign=q-sign-algorithm%3Dsha1%26q-ak%3DAKIDqbBtfGe4eSSK8CExGjmC0e8Qcnswv6yj%26q-sign-time%3D1562247164%3B1562257224%26q-key-time%3D1562247164%3B1562257224%26q-header-list%3D%26q-url-param-list%3D%26q-signature%3Dfd43be65f7381293315269dbf18cd99e143fab48&response-content-type=application\/octet-stream",
"url": "https://lambdash-1253665810.cos.ap-shanghai.myqcloud.com/1258717764/qbasetest-a5c40e/login/login_LATEST.zip?sign=q-sign-algorithm%3Dsha1%26q-ak%3DAKIDqbBtfGe4eSSK8CExGjmC0e8Qcnswv6yj%26q-sign-time%3D1562247164%3B1562257224%26q-key-time%3D1562247164%3B1562257224%26q-header-list%3D%26q-url-param-list%3D%26q-signature%3Dfd43be65f7381293315269dbf18cd99e143fab48&response-content-type=application/octet-stream",
"checksum": "bf657f327e477652d137b45b08b6400ab16947b4aaf92e2b04a5fbe5a4582b46"
}

View File

@ -1,5 +1,5 @@
{
"errcode": 0,
"errmsg": "ok",
"codesecret": "t44gXCQQdVCFcMWKrCsSwQ5uV94Op3HiqoZQ1H972pyMBfVgvnAeUGN2vm5Xx07\/"
"codesecret": "t44gXCQQdVCFcMWKrCsSwQ5uV94Op3HiqoZQ1H972pyMBfVgvnAeUGN2vm5Xx07/"
}

View File

@ -2,8 +2,6 @@
"errcode": 0,
"errmsg": "ok",
"open": true,
"api_whitelist": [
"/*"
],
"api_whitelist": ["/*"],
"version": 2
}

View File

@ -9,6 +9,8 @@
"company_name": "深圳市腾讯计算机系统有限公司",
"credential": "156718193518281",
"address": "新疆维吾尔自治区克拉玛依市克拉玛依区碧水路15-1-8号(碧水云天广场)",
"qualification_list": [ "3LaLzqiTrQcD20DlX_o-OV1-nlYMu7sdVAL7SV2PrxVyjZFZZmB3O6LPGaYXlZWq" ],
"qualification_list": [
"3LaLzqiTrQcD20DlX_o-OV1-nlYMu7sdVAL7SV2PrxVyjZFZZmB3O6LPGaYXlZWq"
],
"poi_id": ""
}

View File

@ -4,5 +4,7 @@
"pic_list": "{\"list\":[\"http://mmbiz.qpic.cn/mmbiz_jpg/tW66AWvE2K4EJxIYOVpiaGOkfg0iayibiaP2xHOChvbmKQD5uh8ymibbEKlTTPmjTdQ8ia43sULLeG1pT2psOfPic4kTw/0?wx_fmt=jpeg\"]}",
"contract_phone": "1111222222",
"credential": "22883878-0",
"qualification_list": [ "RTZgKZ386yFn5kQSWLTxe4bqxwgzGBjs3OE02cg9CVQk1wRVE3c8fjUFX7jvpi-P" ]
"qualification_list": [
"RTZgKZ386yFn5kQSWLTxe4bqxwgzGBjs3OE02cg9CVQk1wRVE3c8fjUFX7jvpi-P"
]
}

View File

@ -1,7 +1,9 @@
{
"first_catid": 476,
"second_catid": 477,
"qualification_list": ["RTZgKZ386yFn5kQSWLTxe4bqxwgzGBjs3OE02cg9CVQk1wRVE3c8fjUFX7jvpi-P"],
"qualification_list": [
"RTZgKZ386yFn5kQSWLTxe4bqxwgzGBjs3OE02cg9CVQk1wRVE3c8fjUFX7jvpi-P"
],
"headimg_mediaid": "RTZgKZ386yFn5kQSWLTxe4bqxwgzGBjs3OE02cg9CVQk1wRVE3c8fjUFX7jvpi-P",
"nickname": "hardenzhang308",
"intro": "hardenzhangtest",

View File

@ -6,18 +6,12 @@
"id": "440000",
"name": "广东",
"fullname": "广东省",
"pinyin": [
"guang",
"dong"
],
"pinyin": ["guang", "dong"],
"location": {
"lat": 23.13171,
"lng": 113.26627
},
"cidx": [
246,
266
]
"cidx": [246, 266]
}
],
[
@ -25,18 +19,12 @@
"id": "440100",
"name": "广州",
"fullname": "广州市",
"pinyin": [
"guang",
"zhou"
],
"pinyin": ["guang", "zhou"],
"location": {
"lat": 23.12908,
"lng": 113.26436
},
"cidx": [
1667,
1677
]
"cidx": [1667, 1677]
}
],
[

View File

@ -8,20 +8,14 @@
"id": 0,
"name": "root",
"level": 0,
"children": [
269,
278
]
"children": [269, 278]
},
{
"id": 278,
"name": "购物",
"level": 1,
"father": 0,
"children": [
279,
280
]
"children": [279, 280]
},
{
"id": 280,

View File

@ -1,7 +1,4 @@
{
"roomId": 6474,
"goods": [
{ "goodsId": "123" },
{ "goodsId": "234" }
]
"goods": [{ "goodsId": "123" }, { "goodsId": "234" }]
}

View File

@ -6,15 +6,15 @@
{
"name": "直播房间名",
"roomid": 1,
"cover_img": "http://http:\/\/mmbiz.qpic.cn\/mmbiz_jpg\/Rl1RuuhdstSfZa8EEljedAYcbtX3Ejpdl2et1tPAQ37bdicnxoVialDLCKKDcPBy8Iic0kCiaiaalXg3EbpNKoicrweQ\/0?wx_fmt=jpeg",
"share_img": "http://http:\/\/mmbiz.qpic.cn\/mmbiz_jpg\/Rl1RuuhdstSfZa8EEljedAYcbtX3Ejpdl2et1tPAQ37bdicnxoVialDLCKKDcPBy8Iic0kCiaiaalXg3EbpNKoicrweQ\/0?wx_fmt=jpeg",
"cover_img": "http://http://mmbiz.qpic.cn/mmbiz_jpg/Rl1RuuhdstSfZa8EEljedAYcbtX3Ejpdl2et1tPAQ37bdicnxoVialDLCKKDcPBy8Iic0kCiaiaalXg3EbpNKoicrweQ/0?wx_fmt=jpeg",
"share_img": "http://http://mmbiz.qpic.cn/mmbiz_jpg/Rl1RuuhdstSfZa8EEljedAYcbtX3Ejpdl2et1tPAQ37bdicnxoVialDLCKKDcPBy8Iic0kCiaiaalXg3EbpNKoicrweQ/0?wx_fmt=jpeg",
"live_status": 101,
"start_time": 1568128900,
"end_time": 1568131200,
"anchor_name": "里斯",
"goods": [
{
"cover_img": "http://http:\/\/mmbiz.qpic.cn\/mmbiz_jpg\/Rl1RuuhdstSfZa8EEljedAYcbtX3Ejpdl2et1tPAQ37bdicnxoVialDLCKKDcPBy8Iic0kCiaiaalXg3EbpNKoicrweQ\/0?wx_fmt=jpeg",
"cover_img": "http://http://mmbiz.qpic.cn/mmbiz_jpg/Rl1RuuhdstSfZa8EEljedAYcbtX3Ejpdl2et1tPAQ37bdicnxoVialDLCKKDcPBy8Iic0kCiaiaalXg3EbpNKoicrweQ/0?wx_fmt=jpeg",
"url": "pages/index/index.html",
"name": "茶杯",
"price": 1889,

View File

@ -29,13 +29,8 @@
},
"version_desc": "blablabla",
"ugc_declare": {
"scene": [
1,
2
],
"method": [
1
],
"scene": [1, 2],
"method": [1],
"has_audit_team": 1,
"audit_desc": "blablabla"
}

View File

@ -16,10 +16,7 @@
},
"appeal_material": {
"reason": "内容是正常的",
"proof_material_ids": [
"xxxx",
"xxxx"
]
"proof_material_ids": ["xxxx", "xxxx"]
}
},
{
@ -29,9 +26,7 @@
},
"appeal_material": {
"reason": "内容是正常的",
"proof_material_ids": [
"zzzz"
]
"proof_material_ids": ["zzzz"]
}
}
]

View File

@ -1,4 +1,4 @@
using System;
using System;
using System.Threading.Tasks;
using Xunit;
@ -20,7 +20,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Api.UnitTests
Assert.True(response.IsSuccessful());
Assert.NotNull(response.DefaultTimeData);
Assert.NotEmpty(response.DefaultTimeData.DataList);
Assert.NotEmpty(response.DefaultTimeData!.DataList);
}
[Fact(DisplayName = "测试用例:调用 API [GET] /wxaapi/log/get_scene")]

View File

@ -2,19 +2,13 @@
"result": [
{
"type": "number",
"span": [
3,
4
],
"span": [3, 4],
"text": "两",
"norm": "2"
},
{
"type": "datetime_interval",
"span": [
5,
9
],
"span": [5, 9],
"text": "后天上午",
"norm": "2019-10-30 08:00:00~2019-10-30 11:59:59"
}

View File

@ -1,20 +1,8 @@
{
"result": [
[
"dirty_curse",
0.9999999900000001
],
[
"other",
9.9999999E-9
],
[
"dirty_politics",
0.0
],
[
"dirty_porno",
0.0
]
["dirty_curse", 0.9999999900000001],
["other", 9.9999999e-9],
["dirty_politics", 0.0],
["dirty_porno", 0.0]
]
}

View File

@ -1,16 +1,7 @@
{
"result": [
[
"正面",
0.9593541622161865
],
[
"无情感",
0.0400625541806221
],
[
"负面",
0.000583284127060324
]
["正面", 0.9593541622161865],
["无情感", 0.0400625541806221],
["负面", 0.000583284127060324]
]
}

View File

@ -68,72 +68,10 @@
"。"
],
"POSs": [
25,
16,
16,
46,
25,
16,
16,
46,
15,
1,
16,
30,
33,
8,
34,
31,
23,
16,
31,
36,
34,
16,
33,
33,
16,
34,
5,
34,
6,
1,
38,
34,
16,
16,
15,
1,
16,
16,
34,
6,
31,
16,
1,
31,
30,
34,
31,
16,
23,
34,
25,
28,
31,
30,
33,
16,
34,
31,
27,
31,
23,
31,
16,
30,
16,
34
25, 16, 16, 46, 25, 16, 16, 46, 15, 1, 16, 30, 33, 8, 34, 31, 23, 16,
31, 36, 34, 16, 33, 33, 16, 34, 5, 34, 6, 1, 38, 34, 16, 16, 15, 1, 16,
16, 34, 6, 31, 16, 1, 31, 30, 34, 31, 16, 23, 34, 25, 28, 31, 30, 33,
16, 34, 31, 27, 31, 23, 31, 16, 30, 16, 34
],
"words_mix": [
"在",
@ -203,80 +141,11 @@
"。"
],
"POSs_mix": [
25,
16,
16,
46,
25,
16,
16,
46,
15,
1,
16,
30,
33,
8,
34,
31,
23,
16,
31,
36,
34,
16,
33,
33,
16,
34,
5,
34,
6,
16,
34,
16,
16,
15,
1,
16,
16,
34,
6,
31,
16,
1,
31,
30,
34,
31,
16,
23,
34,
25,
28,
31,
30,
33,
16,
34,
31,
27,
31,
23,
31,
16,
30,
16,
34
25, 16, 16, 46, 25, 16, 16, 46, 15, 1, 16, 30, 33, 8, 34, 31, 23, 16,
31, 36, 34, 16, 33, 33, 16, 34, 5, 34, 6, 16, 34, 16, 16, 15, 1, 16, 16,
34, 6, 31, 16, 1, 31, 30, 34, 31, 16, 23, 34, 25, 28, 31, 30, 33, 16,
34, 31, 27, 31, 23, 31, 16, 30, 16, 34
],
"entities": [
"腾讯",
"小微",
"最新发布"
],
"entity_types": [
100000013,
0,
0
]
"entities": ["腾讯", "小微", "最新发布"],
"entity_types": [100000013, 0, 0]
}

View File

@ -14,5 +14,4 @@
"total": 1
},
"request_id": "18024ec0-837e-4873-825a-922247d4e57f"
}

View File

@ -6,14 +6,8 @@
"intent": "中午吃什么",
"threshold": "0.9",
"disable": false,
"questions": [
"中午吃什么?",
"中午吃啥?"
],
"answers": [
"面条",
"包子"
]
"questions": ["中午吃什么?", "中午吃啥?"],
"answers": ["面条", "包子"]
}
]
}

View File

@ -73,7 +73,9 @@
"desc": "Inputdesc",
"slot": "InputSlot",
"default_value": "defa",
"ask_content": [ "ask" ]
"ask_content": [
"ask"
]
}
],
"output": [

View File

@ -4,15 +4,9 @@
"slots": [
{
"name": "城市",
"dicts": [
"建筑",
"公路"
],
"dicts": ["建筑", "公路"],
"keep_ask": true,
"ask_content": [
"建筑1",
"公路1"
]
"ask_content": ["建筑1", "公路1"]
}
],
"pre": [
@ -54,10 +48,7 @@
{
"name": "",
"slot": "Slot",
"ask_content": [
"111",
"222"
]
"ask_content": ["111", "222"]
}
],
"result": [
@ -80,9 +71,7 @@
"desc": "Input desc",
"slot": "Input Slot",
"default_value": "defa",
"ask_content": [
"ask"
]
"ask_content": ["ask"]
}
],
"output": [
@ -108,7 +97,6 @@
"content": "我在哪"
}
]
}
}
]

View File

@ -5,18 +5,10 @@
"max_round": 10,
"wake_open": true,
"awaken_word": "你好",
"awaken_answer": [
"有什么可以帮忙的吗"
],
"awaken_answer": ["有什么可以帮忙的吗"],
"exist_word": "再见",
"exist_answer": [
"祝您好运"
],
"exist_answer": ["祝您好运"],
"cancel_intent_operation": true,
"cancel_answer": [
"已取消"
],
"no_cancel_answer": [
"没有可以取消的内容"
]
"cancel_answer": ["已取消"],
"no_cancel_answer": ["没有可以取消的内容"]
}

View File

@ -1,5 +1,11 @@
{
"skill_id": "21c705957fc5af9fc32e",
"on_bot_id_list": [ "1dzcmrij0zyvexs4llblxepwclfvnq3fv", "2dzcmrij0zyvexs4llblxepwclfvnq3fv" ],
"off_bot_id_list": [ "dzcmrij0zyvexs4llblxepwclfvnq3fv", "3dzcmrij0zyvexs4llblxepwclfvnq3fv" ]
"on_bot_id_list": [
"1dzcmrij0zyvexs4llblxepwclfvnq3fv",
"2dzcmrij0zyvexs4llblxepwclfvnq3fv"
],
"off_bot_id_list": [
"dzcmrij0zyvexs4llblxepwclfvnq3fv",
"3dzcmrij0zyvexs4llblxepwclfvnq3fv"
]
}

View File

@ -1,5 +1,11 @@
{
"skill_name": "天气",
"on_bot_id_list": [ "1dzcmrij0zyvexs4llblxepwclfvnq3fv", "2dzcmrij0zyvexs4llblxepwclfvnq3fv" ],
"off_bot_id_list": [ "dzcmrij0zyvexs4llblxepwclfvnq3fv", "3dzcmrij0zyvexs4llblxepwclfvnq3fv" ]
"on_bot_id_list": [
"1dzcmrij0zyvexs4llblxepwclfvnq3fv",
"2dzcmrij0zyvexs4llblxepwclfvnq3fv"
],
"off_bot_id_list": [
"dzcmrij0zyvexs4llblxepwclfvnq3fv",
"3dzcmrij0zyvexs4llblxepwclfvnq3fv"
]
}

View File

@ -16,10 +16,7 @@
"skill_id": "buarvgld1evpg4faxacg",
"skill_name": "小微欢乐多",
"state": 0,
"statement_case_list": [
"讲笑话",
"讲情话"
],
"statement_case_list": ["讲笑话", "讲情话"],
"switch": true,
"update_time": "2020-07-29 11:38:39"
}

View File

@ -4,14 +4,8 @@
"count": 1,
"list": [
{
"ask_content": [
"你好",
"又是愉快第一天"
],
"dicts": [
"test1",
"test2"
],
"ask_content": ["你好", "又是愉快第一天"],
"dicts": ["test1", "test2"],
"name": "test",
"id": 1,
"type": 1

View File

@ -1,11 +1,11 @@
using Xunit;
using Xunit;
namespace SKIT.FlurlHttpClient.Wechat.OpenAI.UnitTests
{
public class TestCase_JwtUtilityTests
{
[Fact(DisplayName = "测试用例JWT HS256 编码")]
public void TestJWTEncodeWithHS256()
public void TestJwtEncodeWithHS256()
{
object payload = new
{

Some files were not shown because too many files have changed in this diff Show More