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 dotnet_diagnostic.CS1570.severity = none
# CS1591: 缺少对公共可见类型或成员的 XML 注释
dotnet_diagnostic.CS1591.severity = suggestion dotnet_diagnostic.CS1591.severity = suggestion

View File

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

View File

@ -1,6 +1,6 @@
MIT License 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 Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

View File

@ -1088,7 +1088,6 @@
- Query Fund Settlement Details`QueryHKSettlements` - Query Fund Settlement Details`QueryHKSettlements`
- QR Code Payment - QR Code Payment
- Order Placement`CreateHKTransactionMicroPay` / `CreateHKPartnerTransactionMicroPay` - 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> /// <summary>
/// <para>表示 [POST] /cgi-bin/express/delivery/open_msg/open_openmsg 接口的请求。</para> /// <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> /// <summary>
/// <para>表示 [POST] /cgi-bin/express/delivery/open_msg/open_query_plugin 接口的请求。</para> /// <para>表示 [POST] /cgi-bin/express/delivery/open_msg/open_query_plugin 接口的请求。</para>

View File

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

View File

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

View File

@ -1,4 +1,4 @@
using System; using System;
namespace SKIT.FlurlHttpClient.Wechat.OpenAI namespace SKIT.FlurlHttpClient.Wechat.OpenAI
{ {
@ -35,10 +35,10 @@ namespace SKIT.FlurlHttpClient.Wechat.OpenAI
try 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."); 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); return Utilities.XmlUtility.Deserialize<TEvent>(callbackXml);
} }
catch (WechatOpenAIException) catch (WechatOpenAIException)
@ -104,13 +104,13 @@ namespace SKIT.FlurlHttpClient.Wechat.OpenAI
try try
{ {
string cipher = Utilities.WxBizMsgCryptor.AESEncrypt( string cipher = Utilities.WechatEventDataCryptor.AESEncrypt(
plainText: xml, plainText: xml,
encodingAESKey: client.Credentials.EncodingAESKey!, encodingAESKey: client.Credentials.EncodingAESKey!,
appId: client.Credentials.AppId! 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) catch (Exception ex)
{ {

View File

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

View File

@ -40,7 +40,7 @@
</ItemGroup> </ItemGroup>
<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" /> <PackageReference Include="SKIT.FlurlHttpClient.Common" Version="2.5.0" />
</ItemGroup> </ItemGroup>

View File

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

View File

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

View File

@ -1,4 +1,4 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.IO; using System.IO;
using System.Linq; using System.Linq;
@ -10,7 +10,7 @@ using System.Xml;
namespace SKIT.FlurlHttpClient.Wechat.OpenAI.Utilities 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_KEY_SIZE = 256;
private const int AES_BLOCK_SIZE = 128; private const int AES_BLOCK_SIZE = 128;

View File

@ -1,4 +1,4 @@
using System; using System;
using System.Net.Http; using System.Net.Http;
using System.Threading; using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
@ -103,7 +103,7 @@ namespace SKIT.FlurlHttpClient.Wechat.OpenAI
if (data is WechatOpenAIPlatformRequest.Serialization.IEncryptedXmlable) if (data is WechatOpenAIPlatformRequest.Serialization.IEncryptedXmlable)
{ {
string plainXml = Utilities.XmlUtility.Serialize(data); 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 }; data = new { encrypt = encryptedXml };
} }

View File

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

View File

@ -1,4 +1,4 @@
using System; using System;
using System.Net.Http; using System.Net.Http;
using System.Threading; using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
@ -37,7 +37,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3
IFlurlRequest flurlReq = client IFlurlRequest flurlReq = client
.CreateRequest(request, HttpMethod.Post, "marketing", "bank", "packages", request.PackageId, "tasks"); .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); return await client.SendRequestAsync<Models.UploadMarketingBankPackagesTasksResponse>(flurlReq, httpContent: httpContent, cancellationToken: cancellationToken);
} }
} }

View File

@ -4,10 +4,10 @@
"adcreative_template_id": 263, "adcreative_template_id": 263,
"adcreative_elements": { "adcreative_elements": {
"title": "微信,是一个生活方式!", "title": "微信,是一个生活方式!",
"image_list": [ "<IMAGE_ID>" ], "image_list": ["<IMAGE_ID>"],
"link_name_type": "GET_COUPONS" "link_name_type": "GET_COUPONS"
}, },
"destination_url": "https://weixin.qq.com", "destination_url": "https://weixin.qq.com",
"site_set": [ "SITE_SET_WECHAT" ], "site_set": ["SITE_SET_WECHAT"],
"product_type": "PRODUCT_TYPE_LINK_WECHAT" "product_type": "PRODUCT_TYPE_LINK_WECHAT"
} }

View File

@ -10,10 +10,10 @@
"adcreative_template_id": 263, "adcreative_template_id": 263,
"adcreative_elements": { "adcreative_elements": {
"title": "微信,是一个生活方式!", "title": "微信,是一个生活方式!",
"image_list": [ "51959:7ef00101f6284a318ccf5" ] "image_list": ["51959:7ef00101f6284a318ccf5"]
}, },
"destination_url": "https://weixin.qq.com", "destination_url": "https://weixin.qq.com",
"site_set": [ "SITE_SET_WECHAT" ], "site_set": ["SITE_SET_WECHAT"],
"product_type": "PRODUCT_TYPE_LINK_WECHAT", "product_type": "PRODUCT_TYPE_LINK_WECHAT",
"product_refs_id": "", "product_refs_id": "",
"created_time": 1013554516, "created_time": 1013554516,

View File

@ -1,7 +1,7 @@
{ {
"campaign_id": 12345, "campaign_id": 12345,
"adgroup_name": "朋友圈广告组测试", "adgroup_name": "朋友圈广告组测试",
"site_set": [ "SITE_SET_WECHAT" ], "site_set": ["SITE_SET_WECHAT"],
"product_type": "PRODUCT_TYPE_LINK_WECHAT", "product_type": "PRODUCT_TYPE_LINK_WECHAT",
"begin_date": "2017-06-25", "begin_date": "2017-06-25",
"end_date": "2017-07-01", "end_date": "2017-07-01",
@ -10,11 +10,11 @@
"billing_event": "BILLINGEVENT_IMPRESSION", "billing_event": "BILLINGEVENT_IMPRESSION",
"daily_budget": 1000000, "daily_budget": 1000000,
"targeting": { "targeting": {
"gender": [ "MALE" ], "gender": ["MALE"],
"age": [ "18~30" ], "age": ["18~30"],
"geo_location": { "geo_location": {
"regions": [ 110000, 310000 ], "regions": [110000, 310000],
"location_types": [ "LIVE_IN" ] "location_types": ["LIVE_IN"]
} }
}, },
"time_series": "010100100110100010101010010101010101010100101010101010010101010101001010101010100101010101010111110010101001010110110100110001011001010100101010101010110011001010101010100101100101101110101010101010100110100110010100110101110111101110110110110110110110101101101101110110011101011101101011101101101101001010110111010111011010110110111011", "time_series": "010100100110100010101010010101010101010100101010101010010101010101001010101010100101010101010111110010101001010110110100110001011001010100101010101010110011001010101010100101100101101110101010101010100110100110010100110101110111101110110110110110110110101101101101110110011101011101101011101101101101001010110111010111011010110110111011",

View File

@ -7,7 +7,7 @@
"campaign_id": 23456, "campaign_id": 23456,
"adgroup_id": 123456, "adgroup_id": 123456,
"adgroup_name": "朋友圈广告组测试1", "adgroup_name": "朋友圈广告组测试1",
"site_set": [ "SITE_SET_WECHAT" ], "site_set": ["SITE_SET_WECHAT"],
"optimization_goal": "OPTIMIZATIONGOAL_IMPRESSION", "optimization_goal": "OPTIMIZATIONGOAL_IMPRESSION",
"billing_event": "BILLINGEVENT_IMPRESSION", "billing_event": "BILLINGEVENT_IMPRESSION",
"bid_amount": 20000, "bid_amount": 20000,
@ -16,11 +16,11 @@
"product_refs_id": "", "product_refs_id": "",
"targeting": { "targeting": {
"geo_location": { "geo_location": {
"regions": [ 110000, 310000 ], "regions": [110000, 310000],
"location_types": [ "LIVE_IN" ] "location_types": ["LIVE_IN"]
}, },
"age": [ "20~30" ], "age": ["20~30"],
"gender": [ "FEMALE" ] "gender": ["FEMALE"]
}, },
"begin_date": "2017-06-11", "begin_date": "2017-06-11",
"end_date": "2017-06-13", "end_date": "2017-06-13",

View File

@ -15,10 +15,10 @@
"adcreative_template_id": 263, "adcreative_template_id": 263,
"adcreative_elements": { "adcreative_elements": {
"title": "微信,是一个生活方式!", "title": "微信,是一个生活方式!",
"image_list": [ "51959:7ef00101f6284a318ccf5" ] "image_list": ["51959:7ef00101f6284a318ccf5"]
}, },
"destination_url": "https://weixin.qq.com", "destination_url": "https://weixin.qq.com",
"site_set": [ "SITE_SET_WECHAT" ], "site_set": ["SITE_SET_WECHAT"],
"product_type": "PRODUCT_TYPE_LINK_WECHAT", "product_type": "PRODUCT_TYPE_LINK_WECHAT",
"product_refs_id": "", "product_refs_id": "",
"created_time": 1013554516, "created_time": 1013554516,

View File

@ -2,10 +2,10 @@
"campaign_type": "AMPAIGN_TYPE_WECHAT_MOMENTS", "campaign_type": "AMPAIGN_TYPE_WECHAT_MOMENTS",
"targeting": { "targeting": {
"geo_location": { "geo_location": {
"regions": [ 310000 ], "regions": [310000],
"location_types": [ "LIVE_IN" ] "location_types": ["LIVE_IN"]
}, },
"age": [ "20~25" ], "age": ["20~25"],
"gender": [ "FEMALE" ] "gender": ["FEMALE"]
} }
} }

View File

@ -5,5 +5,5 @@
"MsgType": "event", "MsgType": "event",
"Event": "user_info_modified", "Event": "user_info_modified",
"openid": "oaKk343WOktAaT2ygsX138BGblrg", "openid": "oaKk343WOktAaT2ygsX138BGblrg",
"appid" : "wx13974bf780d3dc89" "appid": "wx13974bf780d3dc89"
} }

View File

@ -1,5 +1,5 @@
{ {
"offset": 0, "offset": 0,
"count": 10, "count": 10,
"status_list": [ "CARD_STATUS_VERIFY_OK", "CARD_STATUS_DISPATCH" ] "status_list": ["CARD_STATUS_VERIFY_OK", "CARD_STATUS_DISPATCH"]
} }

View File

@ -1,6 +1,6 @@
{ {
"errcode": 0, "errcode": 0,
"errmsg": "ok", "errmsg": "ok",
"card_id_list": [ "ph_gmt7cUVrlRk8swPwx7aDyF-pg" ], "card_id_list": ["ph_gmt7cUVrlRk8swPwx7aDyF-pg"],
"total_num": 1 "total_num": 1
} }

View File

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

View File

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

View File

@ -1,5 +1,5 @@
{ {
"errcode": 0, "errcode": 0,
"errmsg": "ok", "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": [ "openid": ["o1Pj9jmZvwSyyyyyyBa4aULW2mA", "o1Pj9jmZvxxxxxxxxxULW2mA"],
"o1Pj9jmZvwSyyyyyyBa4aULW2mA", "username": ["afdvvf", "abcd"]
"o1Pj9jmZvxxxxxxxxxULW2mA"
],
"username": [
"afdvvf",
"abcd"
]
} }

View File

@ -2,12 +2,12 @@
"card_id": "ph_gmt7cUVrlRk8swPwx7aDyF-pg", "card_id": "ph_gmt7cUVrlRk8swPwx7aDyF-pg",
"member_card": { "member_card": {
"base_info": { "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", "color": "Color010",
"notice": "使用时向服务员出示此券", "notice": "使用时向服务员出示此券",
"service_phone": "020-88888888", "service_phone": "020-88888888",
"description": "不可与其他优惠同享。如需团购券发票请在消费时向商户提出店内均可使用仅限堂食餐前不可打包餐后未吃完可打包本团购券不限人数建议2人使用超过建议人数须另收酱料费5元 / 位。本单谢绝自带酒水饮料", "description": "不可与其他优惠同享。如需团购券发票请在消费时向商户提出店内均可使用仅限堂食餐前不可打包餐后未吃完可打包本团购券不限人数建议2人使用超过建议人数须另收酱料费5元 / 位。本单谢绝自带酒水饮料",
"location_id_list": [ 123, 12321, 345345 ], "location_id_list": [123, 12321, 345345],
"pay_info": { "pay_info": {
"swipe_card": { "swipe_card": {
"is_swipe_card": true "is_swipe_card": true
@ -19,9 +19,7 @@
"prerogative": "", "prerogative": "",
"activate_msg_operation": { "activate_msg_operation": {
"url_cell": { "url_cell": {
"card_id_list": [ "card_id_list": ["pbLatjhcI6XUxJWA0Au3Gaq5eFPs"],
"pbLatjhcI6XUxJWA0Au3Gaq5eFPs"
],
"end_time": 1492724561, "end_time": 1492724561,
"text": "恭喜你获得一张50元代金券", "text": "恭喜你获得一张50元代金券",
"url": "www.qq.com" "url": "www.qq.com"

View File

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

View File

@ -1,6 +1,6 @@
{ {
"errcode": 0, "errcode": 0,
"errmsg": "ok", "errmsg": "ok",
"exist_code": [ "11111", "22222", "33333" ], "exist_code": ["11111", "22222", "33333"],
"not_exist_code": [ "44444", "55555" ] "not_exist_code": ["44444", "55555"]
} }

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -5,5 +5,5 @@
"show_time": 1408493192, "show_time": 1408493192,
"duration": 120, "duration": 120,
"screening_room": "5号影厅", "screening_room": "5号影厅",
"seat_number": [ "5排14号", "5排15号" ] "seat_number": ["5排14号", "5排15号"]
} }

View File

@ -1,3 +1,3 @@
{ {
"ip_list": [ "127.0.0.1", "127.0.0.2", "101.226.103.0/25" ] "ip_list": ["127.0.0.1", "127.0.0.2", "101.226.103.0/25"]
} }

View File

@ -1,3 +1,3 @@
{ {
"ip_list": [ "127.0.0.1", "127.0.0.2", "101.226.103.0/25" ] "ip_list": ["127.0.0.1", "127.0.0.2", "101.226.103.0/25"]
} }

View File

@ -22,7 +22,7 @@
"signature": "欢迎小伙伴一起参与盲盒游戏集齐9款鞋卡可以兑换大奖", "signature": "欢迎小伙伴一起参与盲盒游戏集齐9款鞋卡可以兑换大奖",
"MiniProgramInfo": { "MiniProgramInfo": {
"network": { "network": {
"RequestDomain": [ "https:xxx", "https:xxxx", "https:xxx" ], "RequestDomain": ["https:xxx", "https:xxxx", "https:xxx"],
"WsRequestDomain": [], "WsRequestDomain": [],
"UploadDomain": [], "UploadDomain": [],
"DownloadDomain": [], "DownloadDomain": [],

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -2,7 +2,7 @@
"errcode": 0, "errcode": 0,
"errmsg": "ok", "errmsg": "ok",
"black_keyword": { "black_keyword": {
"values": [ "敏感词1", "敏感词2" ], "values": ["敏感词1", "敏感词2"],
"updatetime": 11111 "updatetime": 11111
}, },
"guide_auto_reply": { "guide_auto_reply": {

View File

@ -1,7 +1,7 @@
{ {
"is_delete": false, "is_delete": false,
"black_keyword": { "black_keyword": {
"values": [ "敏感词1", "敏感词2" ] "values": ["敏感词1", "敏感词2"]
}, },
"guide_auto_reply": { "guide_auto_reply": {
"content": "自动回复" "content": "自动回复"

View File

@ -1,5 +1,5 @@
{ {
"errcode": 0, "errcode": 0,
"errmsg": "ok", "errmsg": "ok",
"group_id_list": [ 12736, 12238 ] "group_id_list": [12736, 12238]
} }

View File

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

View File

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

View File

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

View File

@ -1,5 +1,5 @@
{ {
"guide_account": "wx_account", "guide_account": "wx_account",
"openid": "xxxxxxx", "openid": "xxxxxxx",
"display_tag_list": [ "test1", "test2" ] "display_tag_list": ["test1", "test2"]
} }

View File

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

View File

@ -1,4 +1,4 @@
{ {
"tag_name": "xxxxxxx", "tag_name": "xxxxxxx",
"tag_values": [ "标签1", "标签2" ] "tag_values": ["标签1", "标签2"]
} }

View File

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

View File

@ -1,5 +1,5 @@
{ {
"display_tag_list": [ "test1", "test2" ], "display_tag_list": ["test1", "test2"],
"errcode": 0, "errcode": 0,
"errmsg": "ok" "errmsg": "ok"
} }

View File

@ -1,5 +1,5 @@
{ {
"tag_values": [ "tag1_1", "tag2_1" ], "tag_values": ["tag1_1", "tag2_1"],
"errcode": 0, "errcode": 0,
"errmsg": "ok" "errmsg": "ok"
} }

View File

@ -2,19 +2,19 @@
"options": [ "options": [
{ {
"tag_name": "tag4", "tag_name": "tag4",
"tag_values": [ "标签4" ] "tag_values": ["标签4"]
}, },
{ {
"tag_name": "tag3", "tag_name": "tag3",
"tag_values": [ "标签33", "标签22" ] "tag_values": ["标签33", "标签22"]
}, },
{ {
"tag_name": "tag2", "tag_name": "tag2",
"tag_values": [ "标签1", "标签2" ] "tag_values": ["标签1", "标签2"]
}, },
{ {
"tag_name": "tag1", "tag_name": "tag1",
"tag_values": [ "标签66" ] "tag_values": ["标签66"]
} }
], ],
"errcode": 0, "errcode": 0,

View File

@ -1,4 +1,4 @@
{ {
"tag_name": "xxxxxxx", "tag_name": "xxxxxxx",
"tag_values": [ "标签1", "标签2" ] "tag_values": ["标签1", "标签2"]
} }

View File

@ -1,5 +1,5 @@
{ {
"guide_account": "xxxxxxx", "guide_account": "xxxxxxx",
"push_count": 0, "push_count": 0,
"tag_values": [ "tag1_1", "tag2_1" ] "tag_values": ["tag1_1", "tag2_1"]
} }

View File

@ -1,5 +1,5 @@
{ {
"openid_list": [ "xxx1", "xxx2" ], "openid_list": ["xxx1", "xxx2"],
"errcode": 0, "errcode": 0,
"errmsg": "ok" "errmsg": "ok"
} }

View File

@ -1,5 +1,5 @@
{ {
"to_openid_list": [ "OPENID_1", "OPENID_2" ], "to_openid_list": ["OPENID_1", "OPENID_2"],
"sn": "XXXXXXX", "sn": "XXXXXXX",
"template_id": "TEMPLATE_ID", "template_id": "TEMPLATE_ID",
"page": "index", "page": "index",

View File

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

View File

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

View File

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

View File

@ -9,7 +9,7 @@
"district": "不超过10个字", "district": "不超过10个字",
"address": "门店所在的详细街道地址不要填写省市信息不超过80个字", "address": "门店所在的详细街道地址不要填写省市信息不超过80个字",
"telephone": "不超53个字符不可以出现文字", "telephone": "不超53个字符不可以出现文字",
"categories": [ "美食,小吃快餐" ], "categories": ["美食,小吃快餐"],
"offset_type": 1, "offset_type": 1,
"longitude": 115.32375, "longitude": 115.32375,
"latitude": 25.097486, "latitude": 25.097486,

View File

@ -9,7 +9,7 @@
"branch_name": "艺苑路店", "branch_name": "艺苑路店",
"address": "艺苑路11号", "address": "艺苑路11号",
"telephone": "020-12345678", "telephone": "020-12345678",
"categories": [ "美食,快餐小吃" ], "categories": ["美食,快餐小吃"],
"city": "广州市", "city": "广州市",
"province": "广东省", "province": "广东省",
"offset_type": 1, "offset_type": 1,

View File

@ -10,7 +10,7 @@
"city": "广州市", "city": "广州市",
"address": "海珠区艺苑路11 号", "address": "海珠区艺苑路11 号",
"telephone": "020-12345678", "telephone": "020-12345678",
"categories": [ "美食,小吃快餐" ], "categories": ["美食,小吃快餐"],
"offset_type": 1, "offset_type": 1,
"longitude": 115.32375, "longitude": 115.32375,
"latitude": 25.097486, "latitude": 25.097486,

View File

@ -1,3 +1,3 @@
{ {
"tagid_list": [ 134, 2 ] "tagid_list": [134, 2]
} }

View File

@ -1,3 +1,3 @@
{ {
"openid_list": [ "OPENID1", "OPENID2" ] "openid_list": ["OPENID1", "OPENID2"]
} }

View File

@ -1,3 +1,3 @@
{ {
"openid_list": [ "OPENID1", "OPENID2" ] "openid_list": ["OPENID1", "OPENID2"]
} }

View File

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

View File

@ -2,7 +2,7 @@
"total": 2, "total": 2,
"count": 2, "count": 2,
"data": { "data": {
"openid": [ "OPENID1", "OPENID2" ] "openid": ["OPENID1", "OPENID2"]
}, },
"next_openid": "NEXT_OPENID" "next_openid": "NEXT_OPENID"
} }

View File

@ -17,11 +17,10 @@
"remark": "", "remark": "",
"groupid": 0, "groupid": 0,
"tagid_list": [ 128, 2 ], "tagid_list": [128, 2],
"subscribe_scene": "ADD_SCENE_QR_CODE", "subscribe_scene": "ADD_SCENE_QR_CODE",
"qr_scene": 98765, "qr_scene": 98765,
"qr_scene_str": "" "qr_scene_str": ""
}, },
{ {
"subscribe": 0, "subscribe": 0,

View File

@ -12,7 +12,7 @@
"unionid": " o6_bmasdasdsad6_2sgVt7hMZOPfL", "unionid": " o6_bmasdasdsad6_2sgVt7hMZOPfL",
"remark": "", "remark": "",
"groupid": 0, "groupid": 0,
"tagid_list": [ 128, 2 ], "tagid_list": [128, 2],
"subscribe_scene": "ADD_SCENE_QR_CODE", "subscribe_scene": "ADD_SCENE_QR_CODE",
"qr_scene": 98765, "qr_scene": 98765,
"qr_scene_str": "" "qr_scene_str": ""

View File

@ -5,7 +5,7 @@
"categories": [ "categories": [
{ {
"id": 0, "id": 0,
"children": [ 1, 402 ], "children": [1, 402],
"qualify": { "qualify": {
"exter_list": [], "exter_list": [],
"remark": "" "remark": ""
@ -16,7 +16,7 @@
"name": "快递业与邮政", "name": "快递业与邮政",
"level": 1, "level": 1,
"father": 0, "father": 0,
"children": [ 2, 5, 556, 558, 1033 ], "children": [2, 5, 556, 558, 1033],
"sensitive_type": 0, "sensitive_type": 0,
"qualify": { "qualify": {
"exter_list": [], "exter_list": [],

View File

@ -5,7 +5,7 @@
"categories": [ "categories": [
{ {
"id": 0, "id": 0,
"children": [ 1, 402 ], "children": [1, 402],
"qualify": { "qualify": {
"exter_list": [], "exter_list": [],
"remark": "" "remark": ""
@ -16,7 +16,7 @@
"name": "快递业与邮政", "name": "快递业与邮政",
"level": 1, "level": 1,
"father": 0, "father": 0,
"children": [ 2, 5, 556, 558, 1033 ], "children": [2, 5, 556, 558, 1033],
"sensitive_type": 0, "sensitive_type": 0,
"qualify": { "qualify": {
"exter_list": [], "exter_list": [],

View File

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

View File

@ -4,7 +4,7 @@
"remark": "test", "remark": "test",
"vpc": { "vpc": {
"vpcid": "123", "vpcid": "123",
"subnetids": [ "123" ], "subnetids": ["123"],
"create_type": 3 "create_type": 3
} }
} }

View File

@ -2,6 +2,6 @@
"action": "set", "action": "set",
"open": true, "open": true,
"env": "myttest-8gu57so0bd9f9e8a", "env": "myttest-8gu57so0bd9f9e8a",
"api_whitelist": [ "/*" ], "api_whitelist": ["/*"],
"version": 6 "version": 6
} }

View File

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

View File

@ -1,5 +1,5 @@
{ {
"envs": [ "myttest2-9g1m6omv9fa12048", "myttest-8gu57so0bd9f9e8a" ], "envs": ["myttest2-9g1m6omv9fa12048", "myttest-8gu57so0bd9f9e8a"],
"service_name": "echo", "service_name": "echo",
"upload_type": "repository", "upload_type": "repository",
"repository_type": "github", "repository_type": "github",

View File

@ -1,3 +1,3 @@
{ {
"appids": [ "wx075cf85bf347b6df", "wx5fe6bb43205e9e70" ] "appids": ["wx075cf85bf347b6df", "wx5fe6bb43205e9e70"]
} }

View File

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

View File

@ -2,7 +2,7 @@
"data": [ "data": [
{ {
"env": "test-env-6gni9ity244a6ea3", "env": "test-env-6gni9ity244a6ea3",
"appids": [ "wx5fe6bb43205e9e07", "wx075cf85bf347b6df" ] "appids": ["wx5fe6bb43205e9e07", "wx075cf85bf347b6df"]
} }
] ]
} }

View File

@ -1,6 +1,6 @@
{ {
"funcname": "testfunc", "funcname": "testfunc",
"envs": [ "test-env1", "test-env2" ], "envs": ["test-env1", "test-env2"],
"triggers": [ "triggers": [
{ {
"trigger_name": "trigger_name1", "trigger_name": "trigger_name1",

View File

@ -1,5 +1,9 @@
{ {
"functionname": "testfunc", "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==" "zipfile": "UEsDBBQACAAIALB+WU4AAAAAAAAAAAAAAAAIABAAaW5kZXguanNVWAwAAZ9zXPuec1z1ARQAdY7BCsIwEETv+Yoll6ZQ+wOhnv0DD+IhxkWC664kWwmI/27V3IpzGuYNw3RzQSiaU9TOG6x3yVrGW0gMEzh8IOsAUVixfkwgOoV47WHawtPAooUVIRxJLs7ukEhgL5nOtl/h79qf+GBZeIM1FbXHdac9aKC9cDwTDfCb9eblzRtQSwcI6+pcr4AAAADOAAAAUEsBAhUDFAAIAAgAsH5ZTuvqXK+AAAAAzgAAAAgADAAAAAAAAAAAQKSBAAAAAGluZGV4LmpzVVgIAAGfc1z7nnNcUEsFBgAAAAABAAEAQgAAAMYAAAAAAA=="
} }

View File

@ -1,5 +1,9 @@
{ {
"functionname": "testfunc", "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==" "zipfile": "UEsDBBQACAAIALB+WU4AAAAAAAAAAAAAAAAIABAAaW5kZXguanNVWAwAAZ9zXPuec1z1ARQAdY7BCsIwEETv+Yoll6ZQ+wOhnv0DD+IhxkWC664kWwmI/27V3IpzGuYNw3RzQSiaU9TOG6x3yVrGW0gMEzh8IOsAUVixfkwgOoV47WHawtPAooUVIRxJLs7ukEhgL5nOtl/h79qf+GBZeIM1FbXHdac9aKC9cDwTDfCb9eblzRtQSwcI6+pcr4AAAADOAAAAUEsBAhUDFAAIAAgAsH5ZTuvqXK+AAAAAzgAAAAgADAAAAAAAAAAAQKSBAAAAAGluZGV4LmpzVVgIAAGfc1z7nnNcUEsFBgAAAAABAAEAQgAAAMYAAAAAAA=="
} }

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -3,7 +3,7 @@
"errmsg": "ok", "errmsg": "ok",
"user_state": "NORMAL", "user_state": "NORMAL",
"openid": "ont-9vjAcIdSU-LgB7ubALAVJO9U", "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": [], "plate_number_info": [],
"authorize_package": { "authorize_package": {
"mch_id": "1800004561", "mch_id": "1800004561",

View File

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

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