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

@@ -3,4 +3,4 @@
<packageSources>
<add key="SKIT.FlurlHttpClient.Tools.CodeAnalyzer" value="https://www.myget.org/F/skit/api/v3/index.json" />
</packageSources>
</configuration>
</configuration>

View File

@@ -1 +1 @@
appsettings.local.json
appsettings.local.json

View File

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

View File

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

View File

@@ -1,4 +1,4 @@
{
"adcreative_id": 12345,
"adcreative_name": "朋友圈广告创意1"
}
}

View File

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

View File

@@ -2,6 +2,6 @@
"errcode": 0,
"errmsg": "",
"data": {
"adgroup_id": 123456
"adgroup_id": 123456
}
}
}

View File

@@ -1,3 +1,3 @@
{
"adgroup_id": 12345
}
"adgroup_id": 12345
}

View File

@@ -1,4 +1,4 @@
{
"errcode": 0,
"errmsg": ""
}
}

View File

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

View File

@@ -1,4 +1,4 @@
{
"adgroup_id": 12345,
"adgroup_name": "朋友圈广告组测试1"
}
}

View File

@@ -1,4 +1,4 @@
{
"errcode": 0,
"errmsg": ""
}
}

View File

@@ -2,4 +2,4 @@
"adgroup_id": 12345,
"adcreative_id": 12345,
"ad_name": "朋友圈广告测试"
}
}

View File

@@ -2,6 +2,6 @@
"errcode": 0,
"errmsg": "",
"data": {
"ad_id": 456789
"ad_id": 456789
}
}
}

View File

@@ -1,4 +1,4 @@
{
"errcode": 0,
"errmsg": ""
}
}

View File

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

View File

@@ -1,4 +1,4 @@
{
"ad_id": 12345,
"ad_name": "朋友圈广告测试1"
}
}

View File

@@ -1,4 +1,4 @@
{
"errcode": 0,
"errmsg": ""
}
}

View File

@@ -3,4 +3,4 @@
"contact_person": "test",
"contact_person_telephone": "13900000000",
"business_type": "OFFLINE"
}
}

View File

@@ -1,4 +1,4 @@
{
"errcode": 0,
"errmsg": "succeed"
}
}

View File

@@ -10,4 +10,4 @@
"business_type": "OFFLINE",
"business_content": ""
}
}
}

View File

@@ -3,4 +3,4 @@
"contact_person": "test",
"contact_person_telephone": "13900000000",
"business_type": "OFFLINE"
}
}

View File

@@ -1,4 +1,4 @@
{
"errcode": 0,
"errmsg": "succeed"
}
}

View File

@@ -3,4 +3,4 @@
"campaign_type": "CAMPAIGN_TYPE_WECHAT_MOMENTS",
"product_type": "PRODUCT_TYPE_LINK_WECHAT",
"configured_status": "AD_STATUS_SUSPEND"
}
}

View File

@@ -4,4 +4,4 @@
"data": {
"campaign_id": 23456
}
}
}

View File

@@ -2,4 +2,4 @@
"campaign_name": "朋友圈推广计划测试1",
"configured_status": "AD_STATUS_SUSPEND",
"daily_budget": 50000
}
}

View File

@@ -1,4 +1,4 @@
{
"errcode": 0,
"errmsg": ""
}
}

View File

@@ -2,4 +2,4 @@
"name": "客户人群",
"type": "CUSTOMER_FILE",
"description": "客户人群描述"
}
}

View File

@@ -4,4 +4,4 @@
"data": {
"audience_id": "23213219"
}
}
}

View File

@@ -2,4 +2,4 @@
"audience_id": 11232,
"name": "客户人群",
"description": "客户人群描述"
}
}

View File

@@ -4,4 +4,4 @@
"data": {
"custom_audience_file_id": 12345
}
}
}

View File

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

View File

@@ -5,4 +5,4 @@
"approximate_count": 1023288,
"impression": 102311
}
}
}

View File

@@ -3,4 +3,4 @@
"amount": 120000,
"external_bill_no": "spa-123456",
"memo": "从子客户账户转账"
}
}

View File

@@ -8,4 +8,4 @@
"time": 1459924690,
"is_repeated": false
}
}
}

View File

@@ -10,4 +10,4 @@
"signature": "4f71a5b6e71c6abf67a2b16c0b9017a8",
"preview_url": "https://example.com/example.jpg"
}
}
}

View File

@@ -4,4 +4,4 @@
"data": {
"qualification_id": 12345
}
}
}

View File

@@ -1,3 +1,3 @@
{
"qualification_id": 12345
}
"qualification_id": 12345
}

View File

@@ -1,4 +1,4 @@
{
"errcode": 0,
"errmsg": "succeed"
}
}

View File

@@ -1,4 +1,4 @@
{
"errcode": 0,
"errmsg": "succeed"
}
}

View File

@@ -9,7 +9,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Ads.UnitTests
static TestConfigs()
{
// NOTICE: 请在项目根目录下按照 appsettings.json 的格式新建 appsettings.local.json 填入测试参数。
// WARNING: 请在 DEBUG 模式下运行测试用例。
// WARNING: 请在 DEBUG 模式下运行测试用例。
// WARNING: 敏感信息请不要提交到 git
try

View File

@@ -7,4 +7,4 @@
},
"WorkDirectoryForSdk": "请输入当前 SDK 项目所在的目录完整路径,如 C:\\Project\\src\\SKIT.FlurlHttpClient.Wechat.Ads\\",
"WorkDirectoryForTest": "请输入当前测试项目所在的目录完整路径,如 C:\\Project\\test\\SKIT.FlurlHttpClient.Wechat.Ads.UnitTests\\"
}
}

View File

@@ -1 +1 @@
appsettings.local.json
appsettings.local.json

View File

@@ -7,4 +7,4 @@
<MerchantId>0</MerchantId>
<IsPass>1</IsPass>
<Reason><![CDATA[reason]]></Reason>
</xml>
</xml>

View File

@@ -6,4 +6,4 @@
<Event><![CDATA[card_not_pass_check]]></Event>
<CardId><![CDATA[cardid]]></CardId>
<RefuseReason><![CDATA[非法代制]]></RefuseReason>
</xml>
</xml>

View File

@@ -5,4 +5,4 @@
<MsgType><![CDATA[event]]></MsgType>
<Event><![CDATA[card_pass_check]]></Event>
<CardId><![CDATA[cardid]]></CardId>
</xml>
</xml>

View File

@@ -6,4 +6,4 @@
<Event><![CDATA[card_sku_remind]]></Event>
<CardId><![CDATA[pa3LFuAh2P65**********]]></CardId>
<Detail><![CDATA[the card's quantity is equal to 0]]></Detail>
</xml>
</xml>

View File

@@ -8,4 +8,4 @@
<fpqqlsh><![CDATA[14574d75004451097886]]></fpqqlsh>
<status>100</status>
<nsrsbh><![CDATA[150001197205134629]]></nsrsbh>
</xml>
</xml>

View File

@@ -6,4 +6,4 @@
<Event><![CDATA[giftcard_pay_done]]></Event>
<PageId><![CDATA[OQK0R3MaFnCm74Phw5hwFJlz5sn+jy1zzM2amDidDbU=]]></PageId>
<OrderId><![CDATA[Z2y2rY74ksZX1ceuGA]]></OrderId>
</xml>
</xml>

View File

@@ -8,4 +8,4 @@
<OrderId><![CDATA[Z2y2rY74ksZX1ceuGA]]></OrderId>
<IsChatRoom>true</IsChatRoom>
<IsReturnBack><![CDATA[true]]></IsReturnBack>
</xml>
</xml>

View File

@@ -7,4 +7,4 @@
<PageId><![CDATA[OQK0R3MaFnCm74Phw5hwFJlz5sn+jy1zzM2amDidDbU=]]></PageId>
<OrderId><![CDATA[Z2y2rY74ksZX1ceuGA]]></OrderId>
<IsChatRoom>true</IsChatRoom>
</xml>
</xml>

View File

@@ -16,4 +16,4 @@
<OrderType><![CDATA[ORDER_TYPE_SYS_ADD]]></OrderType>
<Memo><![CDATA[开通账户奖励]]></Memo>
<ReceiptInfo><![CDATA[]]></ReceiptInfo>
</xml>
</xml>

View File

@@ -6,4 +6,4 @@
<Event><![CDATA[submit_membercard_user_info]]></Event>
<CardId><![CDATA[pbLatjtZ7v1BG_ZnTjbW85GYc_E8]]></CardId>
<UserCardCode><![CDATA[018255396048]]></UserCardCode>
</xml>
</xml>

View File

@@ -8,4 +8,4 @@
<UserCardCode><![CDATA[485027611252]]></UserCardCode>
<ModifyBonus>3</ModifyBonus>
<ModifyBalance>0</ModifyBalance>
</xml>
</xml>

View File

@@ -8,4 +8,4 @@
<FailOrderId> <![CDATA[]]> </FailOrderId>
<AppId> <![CDATA[]]> </AppId>
<Source> <![CDATA[]]> </Source>
</xml>
</xml>

View File

@@ -12,4 +12,4 @@
<VerifyCode> <![CDATA[]]> </VerifyCode>
<RemarkAmount> <![CDATA[]]> </RemarkAmount>
<OuterStr> <![CDATA[xxxxx]]> </OuterStr>
</xml>
</xml>

View File

@@ -6,4 +6,4 @@
<Event><![CDATA[user_del_card]]></Event>
<CardId><![CDATA[cardid]]></CardId>
<UserCardCode><![CDATA[12312312]]></UserCardCode>
</xml>
</xml>

View File

@@ -6,4 +6,4 @@
<Event><![CDATA[user_enter_session_from_card]]></Event>
<CardId><![CDATA[cardid]]></CardId>
<UserCardCode><![CDATA[12312312]]></UserCardCode>
</xml>
</xml>

View File

@@ -14,4 +14,4 @@
<IsRestoreMemberCard>0</IsRestoreMemberCard>
<IsRecommendByFriend>0</IsRecommendByFriend>
<UnionId>o6_bmasdasdsad6_2sgVt7hMZOPfL</UnionId>
</xml>
</xml>

View File

@@ -9,4 +9,4 @@
<IsReturnBack>0</IsReturnBack>
<FriendUserName><![CDATA[obLatjlNerkb62HtSdQUx66C4NTU]]></FriendUserName>
<IsChatRoom>0</IsChatRoom>
</xml>
</xml>

View File

@@ -28,4 +28,4 @@
<OriginalFee>
<![CDATA[10000]]>
</OriginalFee>
</xml>
</xml>

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