某音rpc调用生成x-gorgon、x-argus签名学习记录

一、通过jadx-gui分析apk

找到签名入口函数如下

a421d0a94d0f49ffaabf19ae1560a107.png

 先hook下这个函数,能看到有结果

a1fd79988bf8442ca53c2fd1789c389c.png

2786e419721e42c3b2c754bf3b284901.png

接下来就是构造参数模拟调用就行,有两个参数:
第一个是url的拼接,
第二个是headers里面的一些参数构成的map,这个参数每个接口可能不一样,我没写全,构造的时候一定要仔细,一个都不能错,不然返回不了数据。
frida构造 所需的Map<String, List<String>> map 类型参数:
var HashMap = Java.use('java.util.LinkedHashMap').$new();  //有序插入 
var ArrayList = Java.use("java.util.ArrayList").$new();
var ObjectJava = Java.use("java.lang.Object");
var map = Java.use("java.util.HashMap").$new();

var m1 = ArrayList;
var m2 = ArrayList;
var m3 = ArrayList;
m1.add("activity_now_client");
m2.add("cookie");
m3.add("gzip");
var mm1 = Java.cast(Java.cast(m1, ArrayList), ObjectJava);
var mm2 = Java.cast(Java.cast(m2, ArrayList), ObjectJava);
var mm3 = Java.cast(Java.cast(m3, ArrayList), ObjectJava);

map.put("1660293459440", mm1);
map.put("cookie", mm2);
map.put("accept-encoding", mm3);
二、测试结果
   我这边测试的是x音商城商品详情页面,不停更换商品id也能返回数据,其它接口也是类似的。
要注意headers里的x-ss-stub字段要先通过md5算法转化body参数后再传参,某些接口没有这个参数,商品详情页有。

6b789cec624b4c4a977cdfbb62656930.png

 2ecc7105179e44e2a71e25afb3f56308.png

 

现在都是6神啦,不过方法万变不离其宗。28.0版本 x-gorgon、x-ladon、x-argus、x-Helios、x-Medusa

d4efecbd40de450f94cd348df5538dfc.png

 

商品详情数据:

{
	"page_style": {
		"detail_page_tag_show": false,
		"detail_page_stats_show": true,
		"detail_page_tag_max": 3,
		"comment_page_tag_max": 0,
		"confirm_order_style": 1,
		"confirm_order_short_url": null
	},
	"fallback_page": {
		"text": "",
		"status": 0,
		"show": false,
		"icon": null
	},
	"extra": {
		"fatal_item_ids": [],
		"logid": "2022081911065301021204003230448E6D",
		"now": 1660878414000
	},
	"log_pb": {
		"impr_id": "2022081911065301021204003230448E6D"
	},
	"status_code": 0,
	"promotions": [{
		"privilege_info": {
			"services": [{
				"title": "正品保障",
				"content": "若商品鉴定为假货,商家支持假一赔三,且承担商品的鉴定费和退回的运费",
				"icon": "http://sf1-ttcdn-tos.pstatp.com/obj/temai/detail_certificate_guarantee.png",
				"service_type": 31
			}, {
				"icon": "https://sf3-cdn-tos.douyinstatic.com/obj/eden-cn/nupfupebo/services/FreightInsurance.png",
				"small_icon": "http://sf1-ttcdn-tos.pstatp.com/obj/ttfe/obj/ttfe/alliance/detail_support_3x.png",
				"service_type": 2,
				"title": "运费险",
				"content": "退货或换货,均可享受一定金额的运费补贴(全球购商品不支持换货)"
			}, {
				"title": "极速退款",
				"content": "满足相应条件时,待发货状态下,提交退款申请将免审核立即退款",
				"icon": "https://sf3-cdn-tos.douyinstatic.com/obj/eden-cn/nupfupebo/services/QuickRefund.png",
				"small_icon": "http://sf1-ttcdn-tos.pstatp.com/obj/ttfe/obj/ttfe/alliance/detail_support_3x.png",
				"service_type": 5
			}, {
				"service_type": 10006,
				"title": "7天无理由退货(拆封后不支持)",
				"content": "满足相应条件(未拆封)时,消费者可申请7天无理由退货",
				"icon": "http://sf3-ttcdn-tos.pstatp.com/obj/temai/full_return.png",
				"small_icon": "http://sf1-ttcdn-tos.pstatp.com/obj/ttfe/obj/ttfe/alliance/detail_support_3x.png"
			}, {
				"content": "若发货超时或物流异常,将为你补贴至少3元无门槛优惠券(特殊商品、大促活动及不可抗力因素除外)",
				"icon": "http://sf3-ttcdn-tos.pstatp.com/obj/temai/delay_send_pay_money.png",
				"small_icon": "http://sf1-ttcdn-tos.pstatp.com/obj/ttfe/obj/ttfe/alliance/detail_support_3x.png",
				"service_type": 26,
				"title": "晚发即赔"
			}, {
				"icon": "https://lf3-static.bytednsdoc.com/obj/eden-cn/ulkl_ajbkvyw_tvjl/ljhwZthlaukjlkulzlp/detail/get_home.png",
				"service_type": 29,
				"title": "上门取件",
				"content": "寄件方式可选择上门取件服务,等待快递员在预约的时间内完成取件,足不出户,完成退货"
			}, {
				"small_icon": "http://sf1-ttcdn-tos.pstatp.com/obj/ttfe/obj/ttfe/alliance/detail_support_3x.png",
				"service_type": 8,
				"title": "消费者保障服务",
				"content": "如商品有质量问题、描述不符等情况,你有权申请退货退款",
				"icon": "http://sf3-ttcdn-tos.pstatp.com/obj/temai/comsumer_protect.png"
			}, {
				"icon": "http://sf3-ttcdn-tos.pstatp.com/obj/temai/shop_certification.png",
				"small_icon": "http://sf1-ttcdn-tos.pstatp.com/obj/ttfe/obj/ttfe/alliance/detail_support_3x.png",
				"url": "https://haohuo.jinritemai.com/views/shop/multipleLicenses?id=ELLZNILV",
				"service_type": 9,
				"hybrid_schema": "sslocal://webcast_lynxview?url=https%3A%2F%2Flf-webcast-sourcecdn-tos.bytegecko.com%2Fobj%2Fbyte-gurd-source%2F10181%2Fgecko%2Fresource%2Fecommerce_public_shop_business_license_aweme%2Fapp%2Ftemplate.js&use_rifle=0&load_taro=0&hide_nav_bar=1&hide_status_bar=0&status_bar_bg_color=white&trans_status_bar=1&id=ELLZNILV",
				"title": "商家资质",
				"content": "该商家已办理市场主体登记,查看资质信息"
			}, {
				"service_type": 10,
				"title": "本商品享受上述商家服务",
				"content": "点击查看平台公示专区",
				"url": "https://mix.jinritemai.com/falcon/mix_page/index.html?__live_platform__=webcast&allowMediaAutoPlay=1&enter_from=others&hide_nav_bar=1&hide_system_video_poster=1&id=7117178766052294949&origin_type=others&should_full_screen=1&trans_status_bar=1&ttwebview_extension_mixrender=1",
				"tag": "public_zone"
			}],
			"logistics": {
				"logistic_lines": [{
					"logistic_items": [{
						"item_type": 1,
						"text": "最晚48小时内从广东省发货,运费0元起"
					}]
				}],
				"post_fee": 0,
				"send_from": "最晚48小时内从广东省发货",
				"post_fee_text": "运费0元起",
				"logistic_text": ["最晚48小时内从广东省发货,运费0元起"],
				"fast_dispatch": 0,
				"arrive_time": 0,
				"middle_text": ""
			},
			"activities": {},
			"installment": {
				"discount_info": {
					"show_flag": false,
					"discount_desc": ""
				},
				"open_info": {
					"open_short": "",
					"open_h5_url": "sslocal://cjpay?canvas_mode=1&url=https%3A%2F%2Ff-cpay.snssdk.com%2Ffeoffline%2Fcpay%2Fapply%2Frouter%3Fcpsource%3Ddyds_product_details_enter_v3%26activity_type%3Ddyds_product_details_default%26break_point%3D1%26is_popup_page%3D1%26from%3Dlanding&back_button_color=%23fff&background_color=%2300c7cc&fullpage=0&hide_title_bar=1&status_bar_text_style=light%26decision_id%3D1660878414_233518199483645_1128",
					"page_type": "H5",
					"activity_type": "creditpay",
					"show_flag": true,
					"icon_url": "https://lf3-infras.bytetos.com/obj/static-assets/a60fff4900ebecd60039c08cc70f9de7.png",
					"open_desc": "先领券!激活领最高128元→"
				}
			},
			"exclusive": null
		},
		"entry_info": {
			"live_entry": {
				"living": false
			},
			"store_entry": {
				"shop_header_icon_list": [{
					"type": 2,
					"url": {
						"uri": "",
						"url_list": ["https://lf3-static.bytednsdoc.com/obj/eden-cn/sphteh7uhpqnuhog/ecom.shop_customer.gateway/cash_deposit.png", "https://lf9-static.bytednsdoc.com/obj/eden-cn/sphteh7uhpqnuhog/ecom.shop_customer.gateway/cash_deposit.png", "https://lf26-static.bytednsdoc.com/obj/eden-cn/sphteh7uhpqnuhog/ecom.shop_customer.gateway/cash_deposit.png"],
						"width": 69,
						"height": 16
					}
				}, {
					"url": {
						"height": 16,
						"uri": "",
						"url_list": ["https://lf3-static.bytednsdoc.com/obj/eden-cn/sphteh7uhpqnuhog/ecom.shop_customer.gateway/certification.png", "https://lf9-static.bytednsdoc.com/obj/eden-cn/sphteh7uhpqnuhog/ecom.shop_customer.gateway/certification.png", "https://lf26-static.bytednsdoc.com/obj/eden-cn/sphteh7uhpqnuhog/ecom.shop_customer.gateway/certification.png"],
						"width": 57
					},
					"type": 3
				}],
				"sell_num": 1548879,
				"shop_name": "象牙塔积木",
				"shop_logo": {
					"uri": "temai/16124236613a22049246281893e272e98bfa94a3948bb9be35",
					"url_list": ["https://p3-item.ecombdimg.com/img/temai/16124236613a22049246281893e272e98bfa94a3948bb9be35~tplv-5mmsx3fupr-resize:74:74.webp", "https://p6-item.ecombdimg.com/img/temai/16124236613a22049246281893e272e98bfa94a3948bb9be35~tplv-5mmsx3fupr-resize:74:74.webp"],
					"width": 74,
					"height": 74
				},
				"nav_link": "sslocal://goods/store?sec_shop_id=ELLZNILV&entrance_location=product_detail&url_maker=shop_sdk",
				"brand_info": {},
				"sell_rating_info": {
					"text": "店铺口碑",
					"has_data": true,
					"score": {
						"percentage": 0.8749,
						"score": 4.87,
						"rating": "高"
					},
					"goods_score": {
						"score": 4.83,
						"rating": "高",
						"percentage": 0.835
					},
					"service_score": {
						"rating": "中",
						"percentage": 0.5562,
						"score": 4.6
					},
					"logistics_score": {
						"score": 4.95,
						"rating": "高",
						"percentage": 0.955
					}
				}
			},
			"shop_bind_author": {
				"author_id": 967182735381880,
				"author_name": "联合创想积木",
				"author_avatar": {
					"uri": "720x720/aweme-avatar/tos-cn-avt-0015_d2ec2a0eb190e1e2aaa61b767db09d50",
					"url_list": ["https://p3.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-avt-0015_d2ec2a0eb190e1e2aaa61b767db09d50.jpeg?from=4010531038", "https://p9.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-avt-0015_d2ec2a0eb190e1e2aaa61b767db09d50.jpeg?from=4010531038", "https://p6.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-avt-0015_d2ec2a0eb190e1e2aaa61b767db09d50.jpeg?from=4010531038"]
				},
				"nav_link": "aweme://user/profile/967182735381880"
			},
			"subsidy_entry": null,
			"author_avatar": {
				"uri": "720x720/aweme-avatar/tos-cn-avt-0015_d2ec2a0eb190e1e2aaa61b767db09d50",
				"url_list": ["https://p3.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-avt-0015_d2ec2a0eb190e1e2aaa61b767db09d50.jpeg?from=4010531038", "https://p9.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-avt-0015_d2ec2a0eb190e1e2aaa61b767db09d50.jpeg?from=4010531038", "https://p6.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-avt-0015_d2ec2a0eb190e1e2aaa61b767db09d50.jpeg?from=4010531038"]
			},
			"author_name": "联合创想积木"
		},
		"page_coms_config": {
			"display_want": true,
			"display_gyl": true,
			"shopping_cart": true,
			"set_cart_gray": false,
			"share_icon": true,
			"display_discount": true,
			"store_icon": true
		},
		"extra_info": {
			"is_virtual_product": false,
			"already_buy": false,
			"log_extra": "{\"avl_discount\":\"0\",\"bind_card_flag\":\"false\",\"fxh_white_list_flag\":\"true\",\"shop_open_fxh_flag\":\"true\",\"user_open_fxh_flag\":\"false\"}",
			"entrance_info": "{\"discount_type\":\"\",\"full_return\":\"0\",\"is_exist_size_tab\":\"0\",\"rank_id_source\":\"\",\"show_rank\":\"not_in_rank\"}",
			"time_sku": {
				"only_time_sku": false,
				"time_sku_num": 0
			},
			"alliance_key": "1128_99514375927_0_3528297291804994915_010",
			"cart_url": "sslocal://webview?url=https%3A%2F%2Fhaohuo.jinritemai.com%2Fviews%2Fcart%2Findex%3Fstatus_bar_color%3Dffffff%26loading_bgcolor%3Dffffff%26hide_nav_bar%3D1%26status_font_dark%3D1%26new_source_type%3Dproduct_detail%26ecom_scene_id%3D%26cart_ids%3D&hide_bar=1&hide_back_button=1",
			"favorited": false,
			"visitor_count": 3021,
			"need_check": true,
			"shop_id": "13761483",
			"pay_type": 1,
			"addition_modules_data": {},
			"origin_type": "3002070010",
			"detail_url": "https://haohuo.jinritemai.com/ecommerce/trade/detail/index.html?id=3528297291804994915&origin_type=3002070010&origin_id=99514375927_3528297291804994915&alkey=1128_99514375927_0_3528297291804994915_010&sec_author_id=MS4wLjABAAAA2I9NdgAKZrz9e0tLm1csyDMNqLESPDm34TdYYqXe8-I&from_link=1&c_biz_combo=8&use_link_command=1&goods_detail=%7B%22title%22%3A%22%E3%80%90%E7%94%B2%E5%A3%B3%E8%99%AB%E4%BC%98%E9%80%89%E3%80%91%E6%B5%B7%E8%B4%BC%E7%8E%8B%E7%B4%A2%E9%9A%86%E9%98%8E%E9%AD%94%E5%88%80%E7%83%AD%E8%A1%80%E5%B0%91%E5%B9%B4%E6%8B%BC%E8%A3%85%E6%A8%A1%E5%9E%8B%E7%A7%AF%E6%9C%A8%E6%91%86%E4%BB%B6%22%2C%22sales%22%3A104%2C%22img%22%3A%7B%22uri%22%3A%22temai%2F4b2156f62ada62f87ca8c0535398477d86d9d49fwww800-800%22%2C%22url_list%22%3A%5B%22https%3A%2F%2Fp26-item.ecombdimg.com%2Fimg%2Ftemai%2F4b2156f62ada62f87ca8c0535398477d86d9d49fwww800-800~tplv-5mmsx3fupr-image.png%22%2C%22https%3A%2F%2Fp3-item.ecombdimg.com%2Fimg%2Ftemai%2F4b2156f62ada62f87ca8c0535398477d86d9d49fwww800-800~tplv-5mmsx3fupr-image.png%22%5D%2C%22width%22%3A100%2C%22height%22%3A100%7D%2C%22min_price%22%3A9900%2C%22max_price%22%3A10900%7D&detail_schema=sslocal%3A%2F%2Fec_goods_detail%3Fpromotion_id%3D3528297291804994915%26product_id%3D3528297291804994915%26item_id%3D0%26kol_id%3D99514375927%26enter_from%3Dcopy%26source_page%3Dcopy%26meta_params%3D%257B%2522entrance_info%2522%253A%2522%257B%255C%2522ecom_scene_id%255C%2522%253A%255C%25221082%255C%2522%252C%255C%2522carrier_source%255C%2522%253A%255C%2522search_ecommerce%255C%2522%252C%255C%2522source_method%255C%2522%253A%255C%2522product_card%255C%2522%252C%255C%2522ecom_group_type%255C%2522%253A%255C%2522video%255C%2522%252C%255C%2522search_params%255C%2522%253A%255C%2522%257B%255C%255C%255C%2522search_id%255C%255C%255C%2522%253A%255C%255C%255C%25222022081911064501014508216047AAE9C3%255C%255C%255C%2522%252C%255C%255C%255C%2522search_result_id%255C%255C%255C%2522%253A%255C%255C%255C%25223528297291804994915%255C%255C%255C%2522%257D%255C%2522%257D%2522%257D%26request_additions%3D%257B%2522from_internal_feed%2522%253A%2522false%2522%252C%2522cps_track%2522%253A%2522%2522%252C%2522marketing_channel%2522%253A%2522%2522%257D&entrance_info=%7B%22ecom_scene_id%22%3A%221082%22%2C%22carrier_source%22%3A%22search_ecommerce%22%2C%22source_method%22%3A%22product_card%22%2C%22ecom_group_type%22%3A%22video%22%2C%22search_params%22%3A%22%7B%5C%22search_id%5C%22%3A%5C%222022081911064501014508216047AAE9C3%5C%22%2C%5C%22search_result_id%5C%22%3A%5C%223528297291804994915%5C%22%7D%22%7D",
			"buy_button": {
				"links": {
					"h5_url": "aweme://lynxview/?channel=fe_lynx_commerce_buynow&enable_font_scale=1&bundle=app/template.js&use_rifle=1&id=3528297291804994915&product_id=3528297291804994915&origin_type=3002070010&origin_id=99514375927_3528297291804994915&disable_activity=0&group_id=0&alkey=1128_99514375927_0_3528297291804994915_010&new_source_type=product_detail&status_bar_color=ffffff&loading_bgcolor=ffffff&hide_nav_bar=1&status_font_dark=1&trans_status_bar=0&dynamic=1&enable_immersion_keyboard_control=0&c_biz_combo=8&author_id=99514375927&rifle_mega_object=%7B%22entrance_info%22%3A%22%7B%5C%22ecom_scene_id%5C%22%3A%5C%221082%5C%22%2C%5C%22carrier_source%5C%22%3A%5C%22search_ecommerce%5C%22%2C%5C%22source_method%5C%22%3A%5C%22product_card%5C%22%2C%5C%22ecom_group_type%5C%22%3A%5C%22video%5C%22%2C%5C%22search_params%5C%22%3A%5C%22%7B%5C%5C%5C%22search_id%5C%5C%5C%22%3A%5C%5C%5C%222022081911064501014508216047AAE9C3%5C%5C%5C%22%2C%5C%5C%5C%22search_result_id%5C%5C%5C%22%3A%5C%5C%5C%223528297291804994915%5C%5C%5C%22%7D%5C%22%7D%22%7D&fallback_url=https%3A%2F%2Fffh.jinritemai.com%2Ffalcon%2Fe_commerce%2Flynx%2Fbuy_now",
					"small_app_url": "sslocal://microapp?version=v2&app_id=tt7cca0a77e3e0cd15&scene=027001&version_type=current&start_page=pages%2Fproduct-pay%2Fproduct-pay%3Falkey%3D1128_99514375927_0_3528297291804994915_010%26c_biz_combo%3D8%26disable_activity%3D0%26entrance_info%3D%257B%2522ecom_scene_id%2522%253A%25221082%2522%252C%2522carrier_source%2522%253A%2522search_ecommerce%2522%252C%2522source_method%2522%253A%2522product_card%2522%252C%2522ecom_group_type%2522%253A%2522video%2522%252C%2522search_params%2522%253A%2522%257B%255C%2522search_id%255C%2522%253A%255C%25222022081911064501014508216047AAE9C3%255C%2522%252C%255C%2522search_result_id%255C%2522%253A%255C%25223528297291804994915%255C%2522%257D%2522%257D%26new_source_type%3Dproduct_detail%26origin_id%3D99514375927_3528297291804994915%26origin_type%3D3002070010%26product_id%3D3528297291804994915&bdp_log=%7B%22launch_from%22%3A%22full_screen_card%22%2C%22location%22%3A%22click_product%22%7D&bdpsum=2ee328c",
					"group_h5_url": "aweme://lynxview/?channel=fe_lynx_commerce_buynow&enable_font_scale=1&bundle=app/template.js&use_rifle=1&id=3528297291804994915&product_id=3528297291804994915&origin_type=3002070010&origin_id=99514375927_3528297291804994915&disable_activity=0&group_id=0&alkey=1128_99514375927_0_3528297291804994915_010&new_source_type=product_detail&status_bar_color=ffffff&loading_bgcolor=ffffff&hide_nav_bar=1&status_font_dark=1&trans_status_bar=0&dynamic=1&enable_immersion_keyboard_control=0&c_biz_combo=8&author_id=99514375927&rifle_mega_object=%7B%22entrance_info%22%3A%22%7B%5C%22ecom_scene_id%5C%22%3A%5C%221082%5C%22%2C%5C%22carrier_source%5C%22%3A%5C%22search_ecommerce%5C%22%2C%5C%22source_method%5C%22%3A%5C%22product_card%5C%22%2C%5C%22ecom_group_type%5C%22%3A%5C%22video%5C%22%2C%5C%22search_params%5C%22%3A%5C%22%7B%5C%5C%5C%22search_id%5C%5C%5C%22%3A%5C%5C%5C%222022081911064501014508216047AAE9C3%5C%5C%5C%22%2C%5C%5C%5C%22search_result_id%5C%5C%5C%22%3A%5C%5C%5C%223528297291804994915%5C%5C%5C%22%7D%5C%22%7D%22%7D&fallback_url=https%3A%2F%2Fffh.jinritemai.com%2Ffalcon%2Fe_commerce%2Flynx%2Fbuy_now"
				},
				"text": "立即购买",
				"order_status": 1
			},
			"track_extra": "{\"buyin_track\":\"\",\"c_biz_combo\":\"8\",\"add_cart_source\":\"product_detail\"}",
			"category_info": {
				"first_cid": 20025,
				"second_cid": 20456,
				"third_cid": 23935,
				"fourth_cid": 0
			},
			"share_template": "2.35 Dhb:/ 【【甲壳虫优选】海贼王索隆阎魔刀热血少年拼装模型积木摆件】%s 长按复制此条消息,打开抖音搜索,查看商品详情!",
			"origin_id": "99514375927_3528297291804994915",
			"im_url": "sslocal://webview?hide_h5_title=0&hide_bar=1&hide_nav_bar=1&hide_back=1&hide_back_close=1&hide_back_button=1&bounce_disable=1&disable_bounce=1&disable_bounces=1&status_bar_color=ffffff&loading_bgcolor=ffffff&status_font_dark=1&url=https%3A%2F%2Fim.jinritemai.com%2Fdouyin_mobile_customer%3FcustomTitle%3D1%26needBack%3D1%26selfId%3D233518199483645%26theOtherId%3DELLZNILV%26fromSource%3D1%26fromOrder%3D%26fromGoods%3D3528297291804994915%26extraParams%3D%26streamerName%3D%26ecom_send_message_params%3D&fromGoods=3528297291804994915&promotion_id=3528297291804994915&item_id=0&origin_id=99514375927_3528297291804994915&origin_type=3002070010&alkey=1128_99514375927_0_3528297291804994915_010&c_biz_combo=8&entrance_info=%7B%22ecom_scene_id%22%3A%221082%22%2C%22carrier_source%22%3A%22search_ecommerce%22%2C%22source_method%22%3A%22product_card%22%2C%22ecom_group_type%22%3A%22video%22%2C%22search_params%22%3A%22%7B%5C%22search_id%5C%22%3A%5C%222022081911064501014508216047AAE9C3%5C%22%2C%5C%22search_result_id%5C%22%3A%5C%223528297291804994915%5C%22%7D%22%7D"
		},
		"hotsoon": {
			"shop_entry": {}
		},
		"product_price": {
			"min_price": 9900,
			"max_price": 10900
		},
		"buy_buttons": [{
			"links": {
				"h5_url": "aweme://lynxview/?channel=fe_lynx_commerce_buynow&enable_font_scale=1&bundle=app/template.js&use_rifle=1&id=3528297291804994915&product_id=3528297291804994915&origin_type=3002070010&origin_id=99514375927_3528297291804994915&disable_activity=0&group_id=0&alkey=1128_99514375927_0_3528297291804994915_010&new_source_type=product_detail&status_bar_color=ffffff&loading_bgcolor=ffffff&hide_nav_bar=1&status_font_dark=1&trans_status_bar=0&enable_immersion_keyboard_control=0&dynamic=1&shop_id=ELLZNILV&use_gecko_first=1&surl=https%3A%2F%2Flf6-sourcecdn-tos.pstatp.com%2Fobj%2Fbyte-gurd-source%2Fxiaodian%2Fbuynow%2Fecom_prefix%2Ffe_lynx_commerce_buynow%2Fapp%2Ftemplate.js&c_biz_combo=8&author_id=99514375927&rifle_mega_object=%7B%22entrance_info%22%3A%22%7B%5C%22ecom_scene_id%5C%22%3A%5C%221082%5C%22%2C%5C%22carrier_source%5C%22%3A%5C%22search_ecommerce%5C%22%2C%5C%22source_method%5C%22%3A%5C%22product_card%5C%22%2C%5C%22ecom_group_type%5C%22%3A%5C%22video%5C%22%2C%5C%22search_params%5C%22%3A%5C%22%7B%5C%5C%5C%22search_id%5C%5C%5C%22%3A%5C%5C%5C%222022081911064501014508216047AAE9C3%5C%5C%5C%22%2C%5C%5C%5C%22search_result_id%5C%5C%5C%22%3A%5C%5C%5C%223528297291804994915%5C%5C%5C%22%7D%5C%22%7D%22%7D",
				"small_app_url": "sslocal://microapp?version=v2&app_id=tt7cca0a77e3e0cd15&scene=027001&version_type=current&start_page=pages%2Fproduct-pay%2Fproduct-pay%3Falkey%3D1128_99514375927_0_3528297291804994915_010%26c_biz_combo%3D8%26disable_activity%3D0%26entrance_info%3D%257B%2522ecom_scene_id%2522%253A%25221082%2522%252C%2522carrier_source%2522%253A%2522search_ecommerce%2522%252C%2522source_method%2522%253A%2522product_card%2522%252C%2522ecom_group_type%2522%253A%2522video%2522%252C%2522search_params%2522%253A%2522%257B%255C%2522search_id%255C%2522%253A%255C%25222022081911064501014508216047AAE9C3%255C%2522%252C%255C%2522search_result_id%255C%2522%253A%255C%25223528297291804994915%255C%2522%257D%2522%257D%26new_source_type%3Dproduct_detail%26origin_id%3D99514375927_3528297291804994915%26origin_type%3D3002070010%26product_id%3D3528297291804994915&bdp_log=%7B%22launch_from%22%3A%22full_screen_card%22%2C%22location%22%3A%22click_product%22%7D&bdpsum=2ee328c",
				"group_h5_url": "aweme://lynxview/?channel=fe_lynx_commerce_buynow&enable_font_scale=1&bundle=app/template.js&use_rifle=1&id=3528297291804994915&product_id=3528297291804994915&origin_type=3002070010&origin_id=99514375927_3528297291804994915&disable_activity=0&group_id=0&alkey=1128_99514375927_0_3528297291804994915_010&new_source_type=product_detail&status_bar_color=ffffff&loading_bgcolor=ffffff&hide_nav_bar=1&status_font_dark=1&trans_status_bar=0&enable_immersion_keyboard_control=0&dynamic=1&shop_id=ELLZNILV&use_gecko_first=1&surl=https%3A%2F%2Flf6-sourcecdn-tos.pstatp.com%2Fobj%2Fbyte-gurd-source%2Fxiaodian%2Fbuynow%2Fecom_prefix%2Ffe_lynx_commerce_buynow%2Fapp%2Ftemplate.js&c_biz_combo=8&author_id=99514375927&rifle_mega_object=%7B%22entrance_info%22%3A%22%7B%5C%22ecom_scene_id%5C%22%3A%5C%221082%5C%22%2C%5C%22carrier_source%5C%22%3A%5C%22search_ecommerce%5C%22%2C%5C%22source_method%5C%22%3A%5C%22product_card%5C%22%2C%5C%22ecom_group_type%5C%22%3A%5C%22video%5C%22%2C%5C%22search_params%5C%22%3A%5C%22%7B%5C%5C%5C%22search_id%5C%5C%5C%22%3A%5C%5C%5C%222022081911064501014508216047AAE9C3%5C%5C%5C%22%2C%5C%5C%5C%22search_result_id%5C%5C%5C%22%3A%5C%5C%5C%223528297291804994915%5C%5C%5C%22%7D%5C%22%7D%22%7D&fallback_url=https%3A%2F%2Fffh.jinritemai.com%2Ffalcon%2Fe_commerce%2Flynx%2Fbuy_now"
			},
			"text": "立即购买",
			"order_status": 1
		}],
		"base_info": {
			"title": "【甲壳虫优选】海贼王索隆阎魔刀热血少年拼装模型积木摆件",
			"sold_out": false,
			"promotion_source": 6,
			"biz_kind": 0,
			"tag_info_str": "360_100009965_14278##4;360_100009965_14279##4;360_100009965_15010##4;360_100011808_15178##4;360_7067157508023910693_1843##4;is_alli_product##2;price_power_level#4#2;product_distribution##2;sophon_goods##2;Code_size##3;pay_for_bad##3;unsupport_7days_refund_after_opening##3;support_15days_quality_aftersales##3;TagCode_34b94_287c#15#3;authentic_guarantee##3;customer_protection##3;shop_qualification##3;platform_announcement##3",
			"product_id": "3528297291804994915",
			"images": [{
				"width": 1080,
				"height": 1080,
				"uri": "temai/4b2156f62ada62f87ca8c0535398477d86d9d49fwww800-800",
				"url_list": ["https://p6-item.ecombdimg.com/img/temai/4b2156f62ada62f87ca8c0535398477d86d9d49fwww800-800~tplv-5mmsx3fupr-resize:1080:1080.webp", "https://p9-item.ecombdimg.com/img/temai/4b2156f62ada62f87ca8c0535398477d86d9d49fwww800-800~tplv-5mmsx3fupr-resize:1080:1080.webp"]
			}, {
				"uri": "temai/7d8e81b95ba10d0e407393c9171be0cf08868745www800-800",
				"url_list": ["https://p6-item.ecombdimg.com/img/temai/7d8e81b95ba10d0e407393c9171be0cf08868745www800-800~tplv-5mmsx3fupr-resize:1080:1080.webp", "https://p26-item.ecombdimg.com/img/temai/7d8e81b95ba10d0e407393c9171be0cf08868745www800-800~tplv-5mmsx3fupr-resize:1080:1080.webp"],
				"width": 1080,
				"height": 1080
			}, {
				"url_list": ["https://p3-item.ecombdimg.com/img/temai/e887dee1cb1bc45f61cc97a6d0ad6857ab175815www800-800~tplv-5mmsx3fupr-resize:1080:1080.webp", "https://p26-item.ecombdimg.com/img/temai/e887dee1cb1bc45f61cc97a6d0ad6857ab175815www800-800~tplv-5mmsx3fupr-resize:1080:1080.webp"],
				"width": 1080,
				"height": 1080,
				"uri": "temai/e887dee1cb1bc45f61cc97a6d0ad6857ab175815www800-800"
			}, {
				"uri": "temai/4eb0d47e58284cbdbc1c24db17f906bee6b7fb7fwww800-800",
				"url_list": ["https://p26-item.ecombdimg.com/img/temai/4eb0d47e58284cbdbc1c24db17f906bee6b7fb7fwww800-800~tplv-5mmsx3fupr-resize:1080:1080.webp", "https://p3-item.ecombdimg.com/img/temai/4eb0d47e58284cbdbc1c24db17f906bee6b7fb7fwww800-800~tplv-5mmsx3fupr-resize:1080:1080.webp"],
				"width": 1080,
				"height": 1080
			}, {
				"width": 1080,
				"height": 1080,
				"uri": "temai/e3c78ee7e37b0e5468e28ed4d631ff021fe40891www800-800",
				"url_list": ["https://p26-item.ecombdimg.com/img/temai/e3c78ee7e37b0e5468e28ed4d631ff021fe40891www800-800~tplv-5mmsx3fupr-resize:1080:1080.webp", "https://p6-item.ecombdimg.com/img/temai/e3c78ee7e37b0e5468e28ed4d631ff021fe40891www800-800~tplv-5mmsx3fupr-resize:1080:1080.webp"]
			}],
			"status": 2,
			"is_hide_sales": false,
			"is_hide_product": false,
			"promotion_id": "3528297291804994915",
			"product_type": 0,
			"sale_type": 0,
			"price": {
				"min_price": 9900,
				"max_price": 10900,
				"market_price": 9900
			},
			"promotion_source_text": "商品来自小店",
			"sales": 104,
			"links": {
				"group_h5_url": "aweme://lynxview/?channel=fe_lynx_commerce_buynow&enable_font_scale=1&bundle=app/template.js&use_rifle=1&id=3528297291804994915&product_id=3528297291804994915&origin_type=3002070010&origin_id=99514375927_3528297291804994915&disable_activity=0&group_id=0&alkey=1128_99514375927_0_3528297291804994915_010&new_source_type=product_detail&status_bar_color=ffffff&loading_bgcolor=ffffff&hide_nav_bar=1&status_font_dark=1&trans_status_bar=0&dynamic=1&enable_immersion_keyboard_control=0&c_biz_combo=8&author_id=99514375927&rifle_mega_object=%7B%22entrance_info%22%3A%22%7B%5C%22ecom_scene_id%5C%22%3A%5C%221082%5C%22%2C%5C%22carrier_source%5C%22%3A%5C%22search_ecommerce%5C%22%2C%5C%22source_method%5C%22%3A%5C%22product_card%5C%22%2C%5C%22ecom_group_type%5C%22%3A%5C%22video%5C%22%2C%5C%22search_params%5C%22%3A%5C%22%7B%5C%5C%5C%22search_id%5C%5C%5C%22%3A%5C%5C%5C%222022081911064501014508216047AAE9C3%5C%5C%5C%22%2C%5C%5C%5C%22search_result_id%5C%5C%5C%22%3A%5C%5C%5C%223528297291804994915%5C%5C%5C%22%7D%5C%22%7D%22%7D&fallback_url=https%3A%2F%2Fffh.jinritemai.com%2Ffalcon%2Fe_commerce%2Flynx%2Fbuy_now",
				"h5_url": "aweme://lynxview/?channel=fe_lynx_commerce_buynow&enable_font_scale=1&bundle=app/template.js&use_rifle=1&id=3528297291804994915&product_id=3528297291804994915&origin_type=3002070010&origin_id=99514375927_3528297291804994915&disable_activity=0&group_id=0&alkey=1128_99514375927_0_3528297291804994915_010&new_source_type=product_detail&status_bar_color=ffffff&loading_bgcolor=ffffff&hide_nav_bar=1&status_font_dark=1&trans_status_bar=0&dynamic=1&enable_immersion_keyboard_control=0&c_biz_combo=8&author_id=99514375927&rifle_mega_object=%7B%22entrance_info%22%3A%22%7B%5C%22ecom_scene_id%5C%22%3A%5C%221082%5C%22%2C%5C%22carrier_source%5C%22%3A%5C%22search_ecommerce%5C%22%2C%5C%22source_method%5C%22%3A%5C%22product_card%5C%22%2C%5C%22ecom_group_type%5C%22%3A%5C%22video%5C%22%2C%5C%22search_params%5C%22%3A%5C%22%7B%5C%5C%5C%22search_id%5C%5C%5C%22%3A%5C%5C%5C%222022081911064501014508216047AAE9C3%5C%5C%5C%22%2C%5C%5C%5C%22search_result_id%5C%5C%5C%22%3A%5C%5C%5C%223528297291804994915%5C%5C%5C%22%7D%5C%22%7D%22%7D&fallback_url=https%3A%2F%2Fffh.jinritemai.com%2Ffalcon%2Fe_commerce%2Flynx%2Fbuy_now",
				"small_app_url": "sslocal://microapp?version=v2&app_id=tt7cca0a77e3e0cd15&scene=027001&version_type=current&start_page=pages%2Fproduct-pay%2Fproduct-pay%3Falkey%3D1128_99514375927_0_3528297291804994915_010%26c_biz_combo%3D8%26disable_activity%3D0%26entrance_info%3D%257B%2522ecom_scene_id%2522%253A%25221082%2522%252C%2522carrier_source%2522%253A%2522search_ecommerce%2522%252C%2522source_method%2522%253A%2522product_card%2522%252C%2522ecom_group_type%2522%253A%2522video%2522%252C%2522search_params%2522%253A%2522%257B%255C%2522search_id%255C%2522%253A%255C%25222022081911064501014508216047AAE9C3%255C%2522%252C%255C%2522search_result_id%255C%2522%253A%255C%25223528297291804994915%255C%2522%257D%2522%257D%26new_source_type%3Dproduct_detail%26origin_id%3D99514375927_3528297291804994915%26origin_type%3D3002070010%26product_id%3D3528297291804994915&bdp_log=%7B%22launch_from%22%3A%22full_screen_card%22%2C%22location%22%3A%22click_product%22%7D&bdpsum=2ee328c"
			},
			"presell_type": 2,
			"sold_status": 0
		},
		"comment_info": {
			"stats": [{
				"title": "全部 15",
				"id": 1,
				"caption": "全部",
				"count": 15
			}, {
				"id": 3,
				"caption": "好评",
				"count": 13,
				"title": "好评 13"
			}, {
				"id": 4,
				"caption": "中评",
				"count": 1,
				"title": "中评 1"
			}],
			"tags": [{
				"sentiment": 1,
				"count_number": 1,
				"tag_name": "外观好看",
				"id": 39
			}, {
				"id": 1,
				"sentiment": -1,
				"count_number": 1,
				"tag_name": "质量不好"
			}],
			"comments": [{
				"product_id": 0,
				"user_id": 0,
				"app_id": 1128,
				"rank_shop": 5,
				"rank_logistic": 5,
				"id": 3273077492746928424,
				"comment_time": "2022-06-27 10:54:15",
				"content": "拼好才确认收货的…真帅…就是有点儿费手指",
				"user_avatar": {
					"uri": "https://p3.douyinpic.com/aweme/720x720/aweme-avatar/mosaic-legacy_20aef00045e5b3cd9650b.jpeg?from=4010531038",
					"url_list": ["https://p3.douyinpic.com/aweme/720x720/aweme-avatar/mosaic-legacy_20aef00045e5b3cd9650b.jpeg?from=4010531038"]
				},
				"likes": 0,
				"liked": false,
				"recommend": false,
				"rank": 15,
				"parent_id": 0,
				"sku": "索隆阎魔刀【夜光版】",
				"user_type": 12,
				"user_name": "樱**6",
				"rank_product": 5,
				"shop_reply": ""
			}, {
				"product_id": 0,
				"sku": "索隆阎魔刀【普通版没有夜光版效果】",
				"recommend": false,
				"rank_logistic": 5,
				"content": "动手能力的体现来了",
				"app_id": 1128,
				"likes": 0,
				"liked": false,
				"comment_time": "2022-08-16 10:10:44",
				"user_id": 0,
				"user_avatar": {
					"uri": "https://p3-ecom-commentpic.byteimg.com/tos-cn-i-fceoirpogb/e8cc90c1b39cfd42c2ef6f0061514cfd.png~tplv-fceoirpogb-image.image",
					"url_list": ["https://p3-ecom-commentpic.byteimg.com/tos-cn-i-fceoirpogb/e8cc90c1b39cfd42c2ef6f0061514cfd.png~tplv-fceoirpogb-image.image"]
				},
				"user_name": "抖**4",
				"rank": 15,
				"rank_shop": 5,
				"rank_product": 5,
				"id": 6912937071426486532,
				"parent_id": 0,
				"shop_reply": "",
				"user_type": 12
			}, {
				"recommend": false,
				"rank": 7,
				"rank_logistic": 3,
				"product_id": 0,
				"shop_reply": "",
				"app_id": 1128,
				"parent_id": 0,
				"user_avatar": {
					"uri": "https://p3.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-avt-0015_f5463dd13cf323f9f9ce4cd2e915eeac.jpeg?from=4010531038",
					"url_list": ["https://p3.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-avt-0015_f5463dd13cf323f9f9ce4cd2e915eeac.jpeg?from=4010531038"]
				},
				"likes": 0,
				"rank_product": 1,
				"content": "妥妥的残次品 得用101 参差不齐",
				"user_name": "⬛**j",
				"rank_shop": 3,
				"user_id": 0,
				"user_type": 12,
				"liked": false,
				"id": 5852927594361585951,
				"comment_time": "2022-06-21 21:58:50",
				"sku": "索隆阎魔刀【夜光版】"
			}],
			"total_count": 15,
			"good_ratio": "0",
			"rotation_comments": null,
			"qa_info": null
		},
		"detail_info": {
			"detail_imgs": [{
				"height": 868,
				"uri": "tos-cn-i-scl3phc04j/831dd0c993894276a8f61a1e0758f1b2",
				"url_list": ["https://p6-item.ecombdimg.com/img/tos-cn-i-scl3phc04j/831dd0c993894276a8f61a1e0758f1b2~tplv-5mmsx3fupr-resize:801:868.jpeg", "https://p3-item.ecombdimg.com/img/tos-cn-i-scl3phc04j/831dd0c993894276a8f61a1e0758f1b2~tplv-5mmsx3fupr-resize:801:868.jpeg"],
				"width": 801
			}, {
				"uri": "tos-cn-i-scl3phc04j/5178c449d6f741238e0ed6ab2f42eced",
				"url_list": ["https://p3-item.ecombdimg.com/img/tos-cn-i-scl3phc04j/5178c449d6f741238e0ed6ab2f42eced~tplv-5mmsx3fupr-resize:801:531.jpeg", "https://p26-item.ecombdimg.com/img/tos-cn-i-scl3phc04j/5178c449d6f741238e0ed6ab2f42eced~tplv-5mmsx3fupr-resize:801:531.jpeg"],
				"width": 801,
				"height": 531
			}, {
				"uri": "tos-cn-i-scl3phc04j/e9c69657f1b5458585f07a7fed8f843e",
				"url_list": ["https://p6-item.ecombdimg.com/img/tos-cn-i-scl3phc04j/e9c69657f1b5458585f07a7fed8f843e~tplv-5mmsx3fupr-resize:801:395.jpeg", "https://p3-item.ecombdimg.com/img/tos-cn-i-scl3phc04j/e9c69657f1b5458585f07a7fed8f843e~tplv-5mmsx3fupr-resize:801:395.jpeg"],
				"width": 801,
				"height": 395
			}, {
				"height": 398,
				"uri": "tos-cn-i-scl3phc04j/62fad94893574d0ea5645eab576ccb0b",
				"url_list": ["https://p9-item.ecombdimg.com/img/tos-cn-i-scl3phc04j/62fad94893574d0ea5645eab576ccb0b~tplv-5mmsx3fupr-resize:801:398.jpeg", "https://p6-item.ecombdimg.com/img/tos-cn-i-scl3phc04j/62fad94893574d0ea5645eab576ccb0b~tplv-5mmsx3fupr-resize:801:398.jpeg"],
				"width": 801
			}, {
				"height": 875,
				"uri": "tos-cn-i-scl3phc04j/8f2655314e0a4873bffccd92b067eb27",
				"url_list": ["https://p26-item.ecombdimg.com/img/tos-cn-i-scl3phc04j/8f2655314e0a4873bffccd92b067eb27~tplv-5mmsx3fupr-resize:801:875.jpeg", "https://p3-item.ecombdimg.com/img/tos-cn-i-scl3phc04j/8f2655314e0a4873bffccd92b067eb27~tplv-5mmsx3fupr-resize:801:875.jpeg"],
				"width": 801
			}, {
				"uri": "tos-cn-i-scl3phc04j/004ded9aad4c41a2948cf9fc8bf0b7e3",
				"url_list": ["https://p6-item.ecombdimg.com/img/tos-cn-i-scl3phc04j/004ded9aad4c41a2948cf9fc8bf0b7e3~tplv-5mmsx3fupr-resize:801:555.jpeg", "https://p26-item.ecombdimg.com/img/tos-cn-i-scl3phc04j/004ded9aad4c41a2948cf9fc8bf0b7e3~tplv-5mmsx3fupr-resize:801:555.jpeg"],
				"width": 801,
				"height": 555
			}, {
				"url_list": ["https://p6-item.ecombdimg.com/img/tos-cn-i-scl3phc04j/67bc59d845ed4f9195be07da50f8a487~tplv-5mmsx3fupr-resize:801:548.jpeg", "https://p3-item.ecombdimg.com/img/tos-cn-i-scl3phc04j/67bc59d845ed4f9195be07da50f8a487~tplv-5mmsx3fupr-resize:801:548.jpeg"],
				"width": 801,
				"height": 548,
				"uri": "tos-cn-i-scl3phc04j/67bc59d845ed4f9195be07da50f8a487"
			}, {
				"uri": "tos-cn-i-scl3phc04j/ac6e5e89e5d24f07925999bd6ed97de9",
				"url_list": ["https://p26-item.ecombdimg.com/img/tos-cn-i-scl3phc04j/ac6e5e89e5d24f07925999bd6ed97de9~tplv-5mmsx3fupr-resize:801:430.jpeg", "https://p9-item.ecombdimg.com/img/tos-cn-i-scl3phc04j/ac6e5e89e5d24f07925999bd6ed97de9~tplv-5mmsx3fupr-resize:801:430.jpeg"],
				"width": 801,
				"height": 430
			}, {
				"uri": "tos-cn-i-scl3phc04j/b659272698904521a6cb2019a016d1b2",
				"url_list": ["https://p6-item.ecombdimg.com/img/tos-cn-i-scl3phc04j/b659272698904521a6cb2019a016d1b2~tplv-5mmsx3fupr-resize:800:800.jpeg", "https://p3-item.ecombdimg.com/img/tos-cn-i-scl3phc04j/b659272698904521a6cb2019a016d1b2~tplv-5mmsx3fupr-resize:800:800.jpeg"],
				"width": 800,
				"height": 800
			}, {
				"height": 800,
				"uri": "tos-cn-i-scl3phc04j/5642fae125654c30aad854d464b66ec6",
				"url_list": ["https://p6-item.ecombdimg.com/img/tos-cn-i-scl3phc04j/5642fae125654c30aad854d464b66ec6~tplv-5mmsx3fupr-resize:800:800.jpeg", "https://p9-item.ecombdimg.com/img/tos-cn-i-scl3phc04j/5642fae125654c30aad854d464b66ec6~tplv-5mmsx3fupr-resize:800:800.jpeg"],
				"width": 800
			}, {
				"uri": "tos-cn-i-scl3phc04j/041dcb8d369a47628d7bcd17b4d6d290",
				"url_list": ["https://p9-item.ecombdimg.com/img/tos-cn-i-scl3phc04j/041dcb8d369a47628d7bcd17b4d6d290~tplv-5mmsx3fupr-resize:800:800.jpeg", "https://p26-item.ecombdimg.com/img/tos-cn-i-scl3phc04j/041dcb8d369a47628d7bcd17b4d6d290~tplv-5mmsx3fupr-resize:800:800.jpeg"],
				"width": 800,
				"height": 800
			}, {
				"url_list": ["https://p3-item.ecombdimg.com/img/tos-cn-i-scl3phc04j/849e6fc559b1400fb1c819ccde6cf306~tplv-5mmsx3fupr-resize:800:800.jpeg", "https://p6-item.ecombdimg.com/img/tos-cn-i-scl3phc04j/849e6fc559b1400fb1c819ccde6cf306~tplv-5mmsx3fupr-resize:800:800.jpeg"],
				"width": 800,
				"height": 800,
				"uri": "tos-cn-i-scl3phc04j/849e6fc559b1400fb1c819ccde6cf306"
			}],
			"product_format": [{
				"name": "玩具类型",
				"value": ["塑胶玩具"]
			}, {
				"name": "材质",
				"value": ["ABS"]
			}, {
				"name": "适用年龄",
				"value": ["14周岁以上"]
			}]
		}
	}]
}

交流私。

 

 

  • 7
    点赞
  • 20
    收藏
    觉得还不错? 一键收藏
  • 9
    评论
x-gorgon是字节跳动公司开发的一种用于生成和验证请求签名的算法。在API请求中,使用x-gorgon可以确保请求的合法性和安全性。 x-gorgon通过对请求参数进行加密和处理来生成一个签名,然后将签名信息放入请求头中发送至服务器。服务器收到请求后,会对请求头中的签名进行验证,以确保该请求是由合法的客户端发起的。 x-gorgon算法的生成过程相对复杂,包含了多种加密方法和数据处理步骤。具体步骤如下: 1. 首先,需要提取请求中的关键参数,如请求路径、请求方法、请求体等。 2. 接下来,根据一定的规则和加密算法,对这些参数进行处理和加密,生成一个签名。 3. 然后,将生成签名放入请求头中的x-gorgon字段中。 4. 最后,将请求发送至服务器,服务器会根据事先约定好的算法对请求头中的签名进行验证,如果验证通过,则认为该请求是合法的,否则会拒绝该请求。 通过使用x-gorgon生成签名,可以保证请求的合法性和安全性,防止非法请求和网络攻击。这在网络交互中非常重要,特别是在涉及到用户隐私和数据安全的应用场景下。 总而言之,x-gorgon是一种用于生成和验证请求签名的算法,通过对请求参数进行处理和加密,确保请求的合法性和安全性。它在字节跳动的API请求中得到了广泛的应用,为用户的数据安全提供了很大的保障。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 9
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值