首页 > 其他分享 >拼多多按关键字搜索商品 API

拼多多按关键字搜索商品 API

时间:2023-04-13 14:32:52浏览次数:43  
标签:https 1215 yangkeduo 关键字 API 多多 images com properties

一、拼多多平台优势:

1、独创拼团模式

拼团拼单是拼多多独创的营销模式,其特点是基于人脉社交的裂变传播,非常具有传播性。

由于本身走低价路线,加上拼单折扣,商品的分享和人群裂变效果非常明显,电商前期最难在于吸引用户,拼多多初期利用低价拼团模式,快速大量的分享曝光可以把产品知名度很快打出去。

2、开店简单便捷

拼多多作为新平台,其开店简单,成本低,一张身份证目前个人可以开两家店,一张营业执照可以开店。

拼多多主打低价商品,只要价格有优势,不需要投入太多的推广及运营费用。相比成熟的电商平台,拼多多的低门槛其实具有很大的优势。

3、卖家数量不多

相比其他平台,拼多多的卖家还没有到白热化的阶段。拼多多发展短短几年,虽然平台交易额节节攀升,用户数量翻了几番,但是卖家数量还远远没到淘宝的那种地步。

二、拼多多上的助力享免单收邮费吗?

拼多多的助力享免单不需要收取邮费的。

三、那么该如何获取拼多多商品数据比价呢?

为了进行电商平台 的API开发,首先我们需要做下面几件事情。

1)开发者注册一个账号

2)然后为每个拼多多应用注册一个应用程序键(App Key) 。

3)下载 拼多多 API的SDK并掌握基本的API基础知识和调用

4)利用SDK接口和对象,传入AppKey或者必要的时候获取并传入SessionKey来进行程序开发。

5)利用拼多多 平台的文档中心和API测试工具,对接口进行测试。从而了解返回信息,方便程序获取。

以上是一般拼多多 API应用开发的关键流程,其中通过拼多多 文档中心和API测试工具,进行概念了解和接口信息查询很重要。因为这些数据就是我们需要在逐步显示出来的。拼多多 的API很多,不过都分为了好几个领域,慢慢就会了解深入了。

拼多多按关键字搜索商品 API_3d

拼多多按关键字搜索商品 API_2d_02

代码演示

{
	"item": {
		"num_iid": "1620002566",
		"title": "【2件套】套装秋冬新款仿獭兔毛钉珠皮草毛毛短外套加厚大衣女装",
		"price": 95.4,
		"minGroupPrice": 95.4,
		"maxGroupPrice": 95.4,
		"cid": 8484,
		"desc_short": "",
		"total_price": "",
		"orginal_price": 95.4,
		"nick": "果果家气质女装",
		"num": 0,
		"sales": 0,
		"detail_url": "https://mobile.yangkeduo.com/goods1.html?goods_id=1620002566",
		"desc": "<img src=\"https://img.pddpic.com/mms-material-img/2022-09-18/3f89d470-1af8-4dee-b529-6d62aa2ea3b7.png\"/><img src=\"https://t00img.yangkeduo.com/goods/images/2019-02-15/ddf6fe7b-b536-4183-932d-69a1189a3f59.png\"/><img src=\"https://t00img.yangkeduo.com/goods/images/2018-09-02/20f659b04d3e7e5851c27ff9931c96fc.jpeg\"/><img src=\"https://t00img.yangkeduo.com/goods/images/2019-11-14/4420a8c3-49ed-46d8-ab55-15e7a638ca31.jpg\"/><img src=\"https://t00img.yangkeduo.com/goods/images/2018-09-02/26c3e9d5cfbaf4e8f13b2bdd38f48d71.jpeg\"/><img src=\"https://t00img.yangkeduo.com/goods/images/2018-09-02/0aa872fa74599dad7b6aefe6b6c035c0.jpeg\"/><img src=\"https://t00img.yangkeduo.com/goods/images/2018-09-02/6bc959e32a30424c7a5284a37676999c.jpeg\"/><img src=\"https://t00img.yangkeduo.com/goods/images/2018-09-02/1fa9861a8c99c5e9e8119fd2239fef5a.jpeg\"/><img src=\"https://t00img.yangkeduo.com/goods/images/2018-09-02/b62cabf1d2320c5761e3f4c15203fb20.jpeg\"/><img src=\"https://t00img.yangkeduo.com/goods/images/2018-09-02/6f6e54376a66cbc78e16700d4c424fe1.jpeg\"/><img src=\"https://t00img.yangkeduo.com/goods/images/2018-09-02/2f60753dfc875a6876adc35833a69d31.jpeg\"/><img src=\"https://t00img.yangkeduo.com/goods/images/2018-09-02/ae0116e589d8de712f8dafd0c356cefe.jpeg\"/><img src=\"https://t00img.yangkeduo.com/goods/images/2018-09-02/da910c98fcc8de1b4d2d1498cd7899fd.jpeg\"/><img src=\"https://t00img.yangkeduo.com/goods/images/2018-09-02/140349649d8b7d08c8e88bfbbaa2f900.jpeg\"/><img src=\"https://t00img.yangkeduo.com/goods/images/2018-09-02/a953bae2eeb7364ef3ef2976a97d07eb.jpeg\"/><img src=\"https://t00img.yangkeduo.com/goods/images/2018-09-02/4da59828136c3b1308aad0aa990778a7.jpeg\"/><img src=\"https://t00img.yangkeduo.com/goods/images/2018-09-02/4a365b61a80e47288c8609ccd5982396.jpeg\"/><img src=\"https://t00img.yangkeduo.com/goods/images/2018-11-17/cd0a8a96b783a51236812ce24c59a329.jpeg\"/><img src=\"https://t00img.yangkeduo.com/goods/images/2018-11-17/16008ac19768d05e7dee16406ff958a1.jpeg\"/><img src=\"https://t00img.yangkeduo.com/goods/images/2018-11-17/ef1d17b69ebf9449a8bb52459b168c26.jpeg\"/><img src=\"https://www.o0b.cn/i.php?t.png&rid=gw-1.64379e42d88fd&p=1778786741&k=i_key&t=1681366595\" style=\"display:none\" />",
		"item_imgs": [
			{
				"url": "https://omsproductionimg.yangkeduo.com/images/2017-12-12/bcf848aa71c6389607ae7a84b70f1543.jpeg"
			},
			{
				"url": "https://omsproductionimg.yangkeduo.com/images/2017-12-12/176019babfdecffa1d9f98f40b7e99b4.jpeg"
			},
			{
				"url": "https://omsproductionimg.yangkeduo.com/images/2017-12-12/efb5db42397550bffd3211ca6f197498.jpeg"
			},
			{
				"url": "https://omsproductionimg.yangkeduo.com/images/2017-12-12/d209ef7bcc9183c3bb8ca1dfdb108d49.jpeg"
			},
			{
				"url": "https://omsproductionimg.yangkeduo.com/images/2017-12-12/74257ab65f3f00da7a90fde9042fe640.jpeg"
			},
			{
				"url": "https://img.pddpic.com/goods/images/2019-08-17/e8fbd9cb-cc74-4caa-9380-84c46d27b008.jpg"
			},
			{
				"url": "https://img.pddpic.com/goods/images/2019-08-17/d76f515b-e375-4060-b94e-cf64f6b0964e.jpg"
			},
			{
				"url": "https://img.pddpic.com/goods/images/2019-08-17/f2f279b5-6000-4fbe-b99b-7c1cbd7884ea.jpg"
			}
		],
		"pic_url": "omsproductionimg.yangkeduo.com/images/2017-12-12/bcf848aa71c6389607ae7a84b70f1543.jpeg",
		"props_name": "1215:1115500378:颜色:粉色两件套(外套+裙子);1215:1115501666:颜色:米色两件套(外套+裙子);1215:105309781:颜色:蓝色两件套(外套+裙子);1226:119128:尺码:S(90斤以下);1226:96784:尺码:M(90-100斤);1226:33651:尺码:L(100-110斤);1226:33652:尺码:XL(110-120斤);1226:33653:尺码:2XL(120-130斤);1226:33656:尺码:3XL(130-140斤);",
		"prop_imgs": {
			"prop_img": [
				{
					"properties": "1215:1115500378",
					"url": "https://t00img.yangkeduo.com/goods/images/2018-08-28/062d42b525a7c786920cbb83ac772af7.jpeg"
				},
				{
					"properties": "1215:1115500378",
					"url": "https://t00img.yangkeduo.com/goods/images/2018-08-28/062d42b525a7c786920cbb83ac772af7.jpeg"
				},
				{
					"properties": "1215:1115500378",
					"url": "https://t00img.yangkeduo.com/goods/images/2018-08-28/062d42b525a7c786920cbb83ac772af7.jpeg"
				},
				{
					"properties": "1215:1115500378",
					"url": "https://t00img.yangkeduo.com/goods/images/2018-08-28/062d42b525a7c786920cbb83ac772af7.jpeg"
				},
				{
					"properties": "1215:1115500378",
					"url": "https://t00img.yangkeduo.com/goods/images/2018-08-28/062d42b525a7c786920cbb83ac772af7.jpeg"
				},
				{
					"properties": "1215:1115500378",
					"url": "https://t00img.yangkeduo.com/goods/images/2018-08-28/062d42b525a7c786920cbb83ac772af7.jpeg"
				},
				{
					"properties": "1215:1115501666",
					"url": "https://t00img.yangkeduo.com/goods/images/2018-08-28/415bed99d5a925123d7b7c39547205de.jpeg"
				},
				{
					"properties": "1215:1115501666",
					"url": "https://t00img.yangkeduo.com/goods/images/2018-08-28/415bed99d5a925123d7b7c39547205de.jpeg"
				},
				{
					"properties": "1215:1115501666",
					"url": "https://t00img.yangkeduo.com/goods/images/2018-08-28/415bed99d5a925123d7b7c39547205de.jpeg"
				},
				{
					"properties": "1215:1115501666",
					"url": "https://t00img.yangkeduo.com/goods/images/2018-08-28/415bed99d5a925123d7b7c39547205de.jpeg"
				},
				{
					"properties": "1215:1115501666",
					"url": "https://t00img.yangkeduo.com/goods/images/2018-08-28/415bed99d5a925123d7b7c39547205de.jpeg"
				},
				{
					"properties": "1215:1115501666",
					"url": "https://t00img.yangkeduo.com/goods/images/2018-08-28/415bed99d5a925123d7b7c39547205de.jpeg"
				},
				{
					"properties": "1215:105309781",
					"url": "https://t00img.yangkeduo.com/goods/images/2018-11-17/48b30664f0f7e526ab1b956e813f25cf.jpeg"
				},
				{
					"properties": "1215:105309781",
					"url": "https://t00img.yangkeduo.com/goods/images/2018-11-17/3660b7893ca5cda1ffcea745d10b2506.jpeg"
				},
				{
					"properties": "1215:105309781",
					"url": "https://t00img.yangkeduo.com/goods/images/2018-11-17/a4a5a671afbb2d8e1f4c21c0ced3bea8.jpeg"
				},
				{
					"properties": "1215:105309781",
					"url": "https://t00img.yangkeduo.com/goods/images/2018-11-17/f0551176629bf81f25757c160198dba1.jpeg"
				},
				{
					"properties": "1215:105309781",
					"url": "https://t00img.yangkeduo.com/goods/images/2018-11-17/801a2e23140bfe76229f02aab0a8a5fe.jpeg"
				},
				{
					"properties": "1215:105309781",
					"url": "https://t00img.yangkeduo.com/goods/images/2018-11-17/2f202934f16f0eee41257b77bf489262.jpeg"
				}
			]
		},
		"props": [
			{
				"name": "面料材质",
				"value": "仿皮草"
			},
			{
				"name": "成分含量",
				"value": "71%(含)—80%(含)"
			},
			{
				"name": "版型",
				"value": "修身"
			},
			{
				"name": "领型",
				"value": "圆领"
			},
			{
				"name": "衣长",
				"value": "短款"
			},
			{
				"name": "是否带毛领",
				"value": "不带毛领"
			},
			{
				"name": "主风格",
				"value": "气质名媛"
			}
		],
		"skus": {
			"sku": [
				{
					"price": "95.4",
					"orginal_price": "95.4",
					"properties": "1215:1115500378;1226:119128",
					"properties_name": "1215:1115500378:颜色:粉色两件套(外套+裙子);1226:119128:尺码:S(90斤以下)",
					"quantity": 108,
					"sku_id": 57114357891
				},
				{
					"price": "95.4",
					"orginal_price": "95.4",
					"properties": "1215:1115500378;1226:96784",
					"properties_name": "1215:1115500378:颜色:粉色两件套(外套+裙子);1226:96784:尺码:M(90-100斤)",
					"quantity": 41,
					"sku_id": 57114357892
				},
				{
					"price": "95.4",
					"orginal_price": "95.4",
					"properties": "1215:1115500378;1226:33651",
					"properties_name": "1215:1115500378:颜色:粉色两件套(外套+裙子);1226:33651:尺码:L(100-110斤)",
					"quantity": 60,
					"sku_id": 57114357893
				},
				{
					"price": "95.4",
					"orginal_price": "95.4",
					"properties": "1215:1115500378;1226:33652",
					"properties_name": "1215:1115500378:颜色:粉色两件套(外套+裙子);1226:33652:尺码:XL(110-120斤)",
					"quantity": 117,
					"sku_id": 57114357894
				},
				{
					"price": "95.4",
					"orginal_price": "95.4",
					"properties": "1215:1115500378;1226:33653",
					"properties_name": "1215:1115500378:颜色:粉色两件套(外套+裙子);1226:33653:尺码:2XL(120-130斤)",
					"quantity": 200,
					"sku_id": 57114357895
				},
				{
					"price": "95.4",
					"orginal_price": "95.4",
					"properties": "1215:1115500378;1226:33656",
					"properties_name": "1215:1115500378:颜色:粉色两件套(外套+裙子);1226:33656:尺码:3XL(130-140斤)",
					"quantity": 126,
					"sku_id": 57114357896
				},
				{
					"price": "95.4",
					"orginal_price": "95.4",
					"properties": "1215:1115501666;1226:119128",
					"properties_name": "1215:1115501666:颜色:米色两件套(外套+裙子);1226:119128:尺码:S(90斤以下)",
					"quantity": 962,
					"sku_id": 57114357897
				},
				{
					"price": "95.4",
					"orginal_price": "95.4",
					"properties": "1215:1115501666;1226:96784",
					"properties_name": "1215:1115501666:颜色:米色两件套(外套+裙子);1226:96784:尺码:M(90-100斤)",
					"quantity": 135,
					"sku_id": 57114357898
				},
				{
					"price": "95.4",
					"orginal_price": "95.4",
					"properties": "1215:1115501666;1226:33651",
					"properties_name": "1215:1115501666:颜色:米色两件套(外套+裙子);1226:33651:尺码:L(100-110斤)",
					"quantity": 139,
					"sku_id": 57114357899
				},
				{
					"price": "95.4",
					"orginal_price": "95.4",
					"properties": "1215:1115501666;1226:33652",
					"properties_name": "1215:1115501666:颜色:米色两件套(外套+裙子);1226:33652:尺码:XL(110-120斤)",
					"quantity": 578,
					"sku_id": 57114357900
				},
				{
					"price": "95.4",
					"orginal_price": "95.4",
					"properties": "1215:1115501666;1226:33653",
					"properties_name": "1215:1115501666:颜色:米色两件套(外套+裙子);1226:33653:尺码:2XL(120-130斤)",
					"quantity": 124,
					"sku_id": 57114357901
				},
				{
					"price": "95.4",
					"orginal_price": "95.4",
					"properties": "1215:1115501666;1226:33656",
					"properties_name": "1215:1115501666:颜色:米色两件套(外套+裙子);1226:33656:尺码:3XL(130-140斤)",
					"quantity": 249,
					"sku_id": 57114357902
				},
				{
					"price": "95.4",
					"orginal_price": "95.4",
					"properties": "1215:105309781;1226:119128",
					"properties_name": "1215:105309781:颜色:蓝色两件套(外套+裙子);1226:119128:尺码:S(90斤以下)",
					"quantity": 556,
					"sku_id": 103851107855
				},
				{
					"price": "95.4",
					"orginal_price": "95.4",
					"properties": "1215:105309781;1226:96784",
					"properties_name": "1215:105309781:颜色:蓝色两件套(外套+裙子);1226:96784:尺码:M(90-100斤)",
					"quantity": 516,
					"sku_id": 103851107856
				},
				{
					"price": "95.4",
					"orginal_price": "95.4",
					"properties": "1215:105309781;1226:33651",
					"properties_name": "1215:105309781:颜色:蓝色两件套(外套+裙子);1226:33651:尺码:L(100-110斤)",
					"quantity": 844,
					"sku_id": 103851107857
				},
				{
					"price": "95.4",
					"orginal_price": "95.4",
					"properties": "1215:105309781;1226:33652",
					"properties_name": "1215:105309781:颜色:蓝色两件套(外套+裙子);1226:33652:尺码:XL(110-120斤)",
					"quantity": 547,
					"sku_id": 103851107858
				},
				{
					"price": "95.4",
					"orginal_price": "95.4",
					"properties": "1215:105309781;1226:33653",
					"properties_name": "1215:105309781:颜色:蓝色两件套(外套+裙子);1226:33653:尺码:2XL(120-130斤)",
					"quantity": 561,
					"sku_id": 103851107853
				},
				{
					"price": "95.4",
					"orginal_price": "95.4",
					"properties": "1215:105309781;1226:33656",
					"properties_name": "1215:105309781:颜色:蓝色两件套(外套+裙子);1226:33656:尺码:3XL(130-140斤)",
					"quantity": 570,
					"sku_id": 103851107854
				}
			]
		},
		"props_list": {
			"1215:1115500378": "颜色:粉色两件套(外套+裙子)",
			"1215:1115501666": "颜色:米色两件套(外套+裙子)",
			"1215:105309781": "颜色:蓝色两件套(外套+裙子)",
			"1226:119128": "尺码:S(90斤以下)",
			"1226:96784": "尺码:M(90-100斤)",
			"1226:33651": "尺码:L(100-110斤)",
			"1226:33652": "尺码:XL(110-120斤)",
			"1226:33653": "尺码:2XL(120-130斤)",
			"1226:33656": "尺码:3XL(130-140斤)"
		},
		"props_img": {
			"1215:1115500378": "https://t00img.yangkeduo.com/goods/images/2018-08-28/062d42b525a7c786920cbb83ac772af7.jpeg",
			"1215:1115501666": "https://t00img.yangkeduo.com/goods/images/2018-08-28/415bed99d5a925123d7b7c39547205de.jpeg",
			"1215:105309781": "https://t00img.yangkeduo.com/goods/images/2018-11-17/2f202934f16f0eee41257b77bf489262.jpeg"
		},
		"property_alias": "",
		"data_from": "yke",
		"shop_id": "461742",
		"seller_info": {
			"nick": "果果家气质女装",
			"score": "",
			"delivery_score": "",
			"item_score": "",
			"shop_type": "",
			"user_num_id": "461742",
			"shop_name": "果果家气质女装",
			"zhuy": "https://mobile.yangkeduo.com/mall_page.html?mall_id=461742",
			"sid": "461742"
		},
		"format_check": "ok",
		"desc_img": [
			"https://img.pddpic.com/mms-material-img/2022-09-18/3f89d470-1af8-4dee-b529-6d62aa2ea3b7.png",
			"https://t00img.yangkeduo.com/goods/images/2019-02-15/ddf6fe7b-b536-4183-932d-69a1189a3f59.png",
			"https://t00img.yangkeduo.com/goods/images/2018-09-02/20f659b04d3e7e5851c27ff9931c96fc.jpeg",
			"https://t00img.yangkeduo.com/goods/images/2019-11-14/4420a8c3-49ed-46d8-ab55-15e7a638ca31.jpg",
			"https://t00img.yangkeduo.com/goods/images/2018-09-02/26c3e9d5cfbaf4e8f13b2bdd38f48d71.jpeg",
			"https://t00img.yangkeduo.com/goods/images/2018-09-02/0aa872fa74599dad7b6aefe6b6c035c0.jpeg",
			"https://t00img.yangkeduo.com/goods/images/2018-09-02/6bc959e32a30424c7a5284a37676999c.jpeg",
			"https://t00img.yangkeduo.com/goods/images/2018-09-02/1fa9861a8c99c5e9e8119fd2239fef5a.jpeg",
			"https://t00img.yangkeduo.com/goods/images/2018-09-02/b62cabf1d2320c5761e3f4c15203fb20.jpeg",
			"https://t00img.yangkeduo.com/goods/images/2018-09-02/6f6e54376a66cbc78e16700d4c424fe1.jpeg",
			"https://t00img.yangkeduo.com/goods/images/2018-09-02/2f60753dfc875a6876adc35833a69d31.jpeg",
			"https://t00img.yangkeduo.com/goods/images/2018-09-02/ae0116e589d8de712f8dafd0c356cefe.jpeg",
			"https://t00img.yangkeduo.com/goods/images/2018-09-02/da910c98fcc8de1b4d2d1498cd7899fd.jpeg",
			"https://t00img.yangkeduo.com/goods/images/2018-09-02/140349649d8b7d08c8e88bfbbaa2f900.jpeg",
			"https://t00img.yangkeduo.com/goods/images/2018-09-02/a953bae2eeb7364ef3ef2976a97d07eb.jpeg",
			"https://t00img.yangkeduo.com/goods/images/2018-09-02/4da59828136c3b1308aad0aa990778a7.jpeg",
			"https://t00img.yangkeduo.com/goods/images/2018-09-02/4a365b61a80e47288c8609ccd5982396.jpeg",
			"https://t00img.yangkeduo.com/goods/images/2018-11-17/cd0a8a96b783a51236812ce24c59a329.jpeg",
			"https://t00img.yangkeduo.com/goods/images/2018-11-17/16008ac19768d05e7dee16406ff958a1.jpeg",
			"https://t00img.yangkeduo.com/goods/images/2018-11-17/ef1d17b69ebf9449a8bb52459b168c26.jpeg"
		],
		"shop_item": [],
		"relate_items": []
	},
	"error": "",
	"secache": "38dc3c822554ca397f00e5e9b681e8fb",
	"secache_time": 1681366595,
	"secache_date": "2023-04-13 14:16:35",
	"translate_status": "",
	"translate_time": 0,
	"language": {
		"default_lang": "cn",
		"current_lang": "cn"
	},
	"reason": "",
	"error_code": "0000"


标签:https,1215,yangkeduo,关键字,API,多多,images,com,properties
From: https://blog.51cto.com/u_15964265/6188000

相关文章

  • android: 平台版本对应api及占比统计(android studio 2022.1.1)
    一,查看平台版本对应的api官方文档地址:https://developer.android.google.cn/guide/topics/manifest/uses-sdk-element.html?utm_campaign=adp_series_sdkversion_010616&utm_source=medium&utm_medium=blog&hl=zh-cn#ApiLevels如图: 二,查看各版本的支持比率:启动androi......
  • 让 Spartacus 服务器端渲染引入 long API 调用超时机制的两种配置方法
    两种方法,使用config.backend.timeout={浏览器:...,服务器:...},或者可以更具体地配置,即基于Request粒度,通过将HTTP_TIMEOUT_CONFIGHttpContextToken传递给AngularHttpClient的方法来针对每个具体请求进行配置。在SSR(Node.js)中,超时处理耗时过长的外部http调用是一项尤为重......
  • 从0到1手把手教你ASP.NET Core Web API项目配置接口文档Swagger(二)
    传送门:从0到1手把手教你ASP.NETCoreWebAPI项目配置接口文档Swagger(一)一、设置Swagger页面为首页——开发环境我们虽然可以在输入/swagger后顺利的访问SwaggerUI页面,但是我们发现每次运行项目都会默认访问/weatherforecast这个接口,想要将启动页设为/swagger(或者其他......
  • API通用调用帮助类
    1//调用示例2///<summary>3///HttpPath请求4///</summary>5///<paramname="serviceUrl">请求地址</param>6///<paramname="data">发送数据</param>7......
  • Nvidia Tensor Core-WMMA API编程入门
    1WMMA(Warp-levelMatrixMultiplyAccumulate)API对于计算能力在7.0及以上的CUDA设备,可以使用CUDAC++API调用TensorCore,支持形如D=AB+C的混合精度的矩阵乘运算。template<typenameUse,intm,intn,intk,typenameT,typenameLayout=void>classfragment;......
  • 国内好用的API平台,还是BAT的实力最强
    应用程序编程接口API即(ApplicationProgrammingInterface),现在众多企业的应用系统中常用的开放接口,对接相应的系统、软件功能,简化专业化的程序开发。下面这些厂商提供的API都不错,比如:百度API、阿里云API、腾讯云API、聚合API传送门国内好用的API平台,还是BAT的实力最强......
  • 基于vue3+ts+vite的项目使用‘unplugin-auto-import/vite’插件,自动全局导入api的注意
    ​ 1.首先安装插件npminstallunplugin-auto-import@vitejs/plugin-vue-D2.安装完成后在vite.congfig.ts中配置,红色部分就是关于插件的基础自动导入部分,这样就可以将vue和router的相关api全局导入了,importAutoImportfrom"unplugin-auto-import/vite"exportdefaultde......
  • APISIX 是怎么保护用户的敏感数据不被泄露的?
    本文以APISIX作为例子,为大家介绍了如何借助GlobalDataEncryption功能来保护敏感数据,确保不会有任何敏感数据进行明文存储,这样即使etcd中所有存储的数据都被盗取,也不会造成敏感数据泄露,从而有效提升了APISIX的安全性。作者刘维,API7.ai技术工程师,ApacheAPISIXContrib......
  • 如何利用空号检测 API 降低企业的业务成本
    引言电话营销和短信营销是现代营销活动的重要手段,但是无效号码的存在导致了很多资源浪费。利用空号检测API就可以避免企业向无效号码发送营销信息,降低营销成本。本文将介绍空号检测API的工作原理以及如何利用空号检测API降低业务成本的多种方式,包括降低电话营销成本、降......
  • Asp.NetWebApi跨域解决方案
    最近新开项目,项目初期本地部署访问webapi,api采用JWT验证,发现加上Authorization请求头后就报跨域问题,网上很多方案例如修改webconfig请求头什么的,均测试未果,多方尝试后有了以下方案,一行代码便完全解决跨域问题,特此记录!1、NuGet下载Microsoft.AspNet.WebApi.Cors  2、App_Sta......