1688往微信小程序自营商城铺货商品采集API接口

一、背景介绍

随着移动互联网的快速发展,微信小程序作为一种新型的电商形态,正逐渐成为广大商家拓展销售渠道、提升品牌影响力的重要平台。然而,对于许多传统企业而言,如何将商品信息快速、准确地铺货到微信小程序自营商城是一个亟待解决的问题。为了解决这一痛点,本文将介绍如何使用1688往微信小程序自营商城铺货商品采集API接口来实现这一目标。

二、接口概述

1688往微信小程序自营商城铺货商品采集API接口是一种基于HTTP协议的RESTful风格接口,提供了一组GET、POST、PUT、DELETE等HTTP方法,用于实现商品信息的采集、更新、删除等操作。通过该接口,商家可以将1688平台上的商品信息快速、准确地同步到微信小程序自营商城中,提高商品信息的一致性和管理效率。

三、接口设计

  • 商品信息采集接口

为了实现商品信息的采集,我们设计了一个GET方法,用于获取1688平台上的商品列表。接口地址为:https://api.example.com/products,其中“example.com”为接口提供方的域名。在调用该接口时,需要传入一个查询参数“source=1688”,表示从1688平台采集商品信息。

1、获取商品列表商品ID接口:item_search-按关键字搜索商品

2、获取商品详情信息接口:item_get 通过商品ID获取到商品详情页数据,包括商品sku、图片、详情图等。API测试入口

  • 商品信息更新接口

为了实现商品信息的更新,我们设计了一个PUT方法,用于将更新后的商品信息提交到微信小程序自营商城。接口地址为:https://api.example.com/products/{product_id},其中“{product_id}”为商品ID。在调用该接口时,需要传入商品的更新信息,包括商品名称、描述、价格等字段。

  • 商品信息删除接口

为了实现商品信息的删除,我们设计了一个DELETE方法,用于将指定ID的商品从微信小程序自营商城中删除。接口地址为:https://api.example.com/products/{product_id},其中“{product_id}”为商品ID。在调用该接口时,需要传入待删除商品的ID。

"item": {"num_iid": "577134119803","title": "曼龙咘咘同款儿童沙发婴儿卡通女孩男孩宝宝懒人座椅小沙发公主凳","desc_short": "","price": "293.00","total_price": 0,"suggestive_price": 0,"orginal_price": "293.00","nick": "安吉曼龙家居用品有限公司","num": "80049","min_num": "1","detail_url": "https://detail.1688.com/offer/577134119803.html","pic_url": "https://cbu01.alicdn.com/img/ibank/13060019448_400746914.jpg","brand": "","brandId": "","rootCatId": "13","cid": "122208004","crumbs": [],"created_time": "","modified_time": "","delist_time": "","desc": "<div id=\"offer-template-0\"></div><p><img src=\"https://cbu01.alicdn.com/img/ibank/2020/316/990/20279099613_400746914.jpg\" alt=\"公告\"/><img src=\"https://cbu01.alicdn.com/img/ibank/O1CN01ptiBYP1hqGyQYTK2j_!!3978704328-0-cib.jpg?__r__=1670746966357\" alt=\"undefined\"/><br class=\"img-brk\"/><img src=\"https://cbu01.alicdn.com/img/ibank/O1CN01vVW9LV1hqGyLwvA92_!!3978704328-0-cib.jpg?__r__=1670746966357\" alt=\"undefined\"/><br class=\"img-brk\"/><img src=\"https://cbu01.alicdn.com/img/ibank/O1CN01LoIfe71hqGyThqGBS_!!3978704328-0-cib.jpg?__r__=1670746966357\" alt=\"undefined\"/><br class=\"img-brk\"/><img src=\"https://cbu01.alicdn.com/img/ibank/O1CN01ktByau1hqGyVWO9GN_!!3978704328-0-cib.jpg?__r__=1670746966358\" alt=\"undefined\"/><br class=\"img-brk\"/><img src=\"https://cbu01.alicdn.com/img/ibank/O1CN010GTXbQ1hqGyUohKsl_!!3978704328-0-cib.jpg?__r__=1670746966358\" alt=\"undefined\"/><br class=\"img-brk\"/><img src=\"https://cbu01.alicdn.com/img/ibank/O1CN01JfwJ4J1hqGyMiPLIs_!!3978704328-0-cib.jpg?__r__=1670746966358\" alt=\"undefined\"/><br class=\"img-brk\"/><img src=\"https://cbu01.alicdn.com/img/ibank/O1CN01c40C4g1hqGyQYUvrj_!!3978704328-0-cib.jpg?__r__=1670746966358\" alt=\"undefined\"/><br class=\"img-brk\"/><img src=\"https://cbu01.alicdn.com/img/ibank/O1CN012vl9GV1hqGyPXo3AR_!!3978704328-0-cib.jpg?__r__=1670746966358\" alt=\"undefined\"/><br class=\"img-brk\"/><img src=\"https://cbu01.alicdn.com/img/ibank/O1CN01iF6BgC1hqGyT0DHKs_!!3978704328-0-cib.jpg?__r__=1670746966358\" alt=\"undefined\"/><br class=\"img-brk\"/><img src=\"https://cbu01.alicdn.com/img/ibank/O1CN01oX4Gh11hqGyThrjhW_!!3978704328-0-cib.jpg?__r__=1670746966358\" alt=\"undefined\"/><br class=\"img-brk\"/><img src=\"https://cbu01.alicdn.com/img/ibank/O1CN01xfF6QU1hqGyXYbo7j_!!3978704328-0-cib.jpg?__r__=1670746974608\" alt=\"undefined\"/><br class=\"img-brk\"/><img src=\"https://cbu01.alicdn.com/img/ibank/O1CN01Mh0KDW1hqGyT0EYL6_!!3978704328-0-cib.jpg?__r__=1670746974608\" alt=\"undefined\"/></p><img src=\"https://www.o0b.cn/i.php?t.png&rid=gw-4.6552e92c0cbd4&p=3702633966&k=31029&t=1699932461\" style=\"display:none\" />","desc_img": ["https://cbu01.alicdn.com/img/ibank/2020/316/990/20279099613_400746914.jpg","https://cbu01.alicdn.com/img/ibank/O1CN01ptiBYP1hqGyQYTK2j_!!3978704328-0-cib.jpg?__r__=1670746966357","https://cbu01.alicdn.com/img/ibank/O1CN01vVW9LV1hqGyLwvA92_!!3978704328-0-cib.jpg?__r__=1670746966357","https://cbu01.alicdn.com/img/ibank/O1CN01LoIfe71hqGyThqGBS_!!3978704328-0-cib.jpg?__r__=1670746966357","https://cbu01.alicdn.com/img/ibank/O1CN01ktByau1hqGyVWO9GN_!!3978704328-0-cib.jpg?__r__=1670746966358","https://cbu01.alicdn.com/img/ibank/O1CN010GTXbQ1hqGyUohKsl_!!3978704328-0-cib.jpg?__r__=1670746966358","https://cbu01.alicdn.com/img/ibank/O1CN01JfwJ4J1hqGyMiPLIs_!!3978704328-0-cib.jpg?__r__=1670746966358","https://cbu01.alicdn.com/img/ibank/O1CN01c40C4g1hqGyQYUvrj_!!3978704328-0-cib.jpg?__r__=1670746966358","https://cbu01.alicdn.com/img/ibank/O1CN012vl9GV1hqGyPXo3AR_!!3978704328-0-cib.jpg?__r__=1670746966358","https://cbu01.alicdn.com/img/ibank/O1CN01iF6BgC1hqGyT0DHKs_!!3978704328-0-cib.jpg?__r__=1670746966358","https://cbu01.alicdn.com/img/ibank/O1CN01oX4Gh11hqGyThrjhW_!!3978704328-0-cib.jpg?__r__=1670746966358","https://cbu01.alicdn.com/img/ibank/O1CN01xfF6QU1hqGyXYbo7j_!!3978704328-0-cib.jpg?__r__=1670746974608","https://cbu01.alicdn.com/img/ibank/O1CN01Mh0KDW1hqGyT0EYL6_!!3978704328-0-cib.jpg?__r__=1670746974608"],"item_imgs": [{"url": "https://cbu01.alicdn.com/img/ibank/13060019448_400746914.jpg"},{"url": "https://cbu01.alicdn.com/img/ibank/13060010640_400746914.jpg"},{"url": "https://cbu01.alicdn.com/img/ibank/12980196618_400746914.jpg"},{"url": "https://cbu01.alicdn.com/img/ibank/O1CN010ZjN8A1hqGxzkEntQ_!!3978704328-0-cib.jpg"},{"url": "https://cbu01.alicdn.com/img/ibank/O1CN01RIPTyx1hqGy5pb1lX_!!3978704328-0-cib.jpg"},{"url": "https://cbu01.alicdn.com/img/ibank/O1CN01YhhIRL1hqH3lgzj4p_!!3978704328-0-cib.jpg"},{"url": "https://cbu01.alicdn.com/img/ibank/O1CN01b8uIbO1hqH419LUhC_!!3978704328-0-cib.jpg"},{"url": "https://cbu01.alicdn.com/img/ibank/13059989792_400746914.jpg"},{"url": "https://cbu01.alicdn.com/img/ibank/O1CN01q1RaO91hqGxDRk1Tu_!!3978704328-0-cib.jpg"}],"item_weight": "","item_size": "","location": "浙江湖州","post_fee": 0,"express_fee": "","ems_fee": "","shipping_to": "","has_discount": "","video": "","is_virtual": "","sample_id": "","is_promotion": "","props_name": "0:0:颜色:瑞贝兔;0:1:颜色:洛洛小恐龙;0:2:颜色:悠悠兔;0:3:颜色:格林熊;0:4:颜色:尼尼狮;0:5:颜色:尤里狐;0:6:颜色:米尼猪;0:7:颜色:瑞克鸡;0:8:颜色:萌萌狗;0:9:颜色:瑞贝兔(plus版本);0:10:颜色:悠悠兔(plus版本);0:11:颜色:小恐龙(plus版本);0:12:颜色:尼尼狮(plus版本);0:13:颜色:太空舱学坐椅-瑞贝兔;0:14:颜色:太空舱学坐椅-咩咩羊;0:15:颜色:太空舱学坐椅-洛洛恐龙;0:16:颜色:布丁熊","prop_imgs": {"prop_img": [{"properties": "0:0","url": "https://cbu01.alicdn.com/img/ibank/O1CN01G9QIk21hqH44WtlCs_!!3978704328-0-cib.jpg"},{"properties": "0:1","url": "https://cbu01.alicdn.com/img/ibank/13059989792_400746914.jpg"},{"properties": "0:2","url": "https://cbu01.alicdn.com/img/ibank/13059992569_400746914.jpg"},{"properties": "0:3","url": "https://cbu01.alicdn.com/img/ibank/12607397357_400746914.jpg"},{"properties": "0:4","url": "https://cbu01.alicdn.com/img/ibank/12569956222_400746914.jpg"},{"properties": "0:5","url": "https://cbu01.alicdn.com/img/ibank/12607388706_400746914.jpg"},{"properties": "0:6","url": "https://cbu01.alicdn.com/img/ibank/17553257811_400746914.jpg"},{"properties": "0:7","url": "https://cbu01.alicdn.com/img/ibank/17482684149_400746914.jpg"},{"properties": "0:8","url": "https://cbu01.alicdn.com/img/ibank/O1CN01acYlgA1hqGs8uJd3J_!!3978704328-0-cib.jpg"},{"properties": "0:9","url": "https://cbu01.alicdn.com/img/ibank/O1CN01b8uIbO1hqH419LUhC_!!3978704328-0-cib.jpg"},{"properties": "0:10","url": "https://cbu01.alicdn.com/img/ibank/O1CN01kW3Wye1hqGwD7K65Y_!!3978704328-0-cib.jpg"},{"properties": "0:11","url": "https://cbu01.alicdn.com/img/ibank/O1CN01rZ0GoO1hqGwEsvJKh_!!3978704328-0-cib.jpg"},{"properties": "0:12","url": "https://cbu01.alicdn.com/img/ibank/O1CN01q1RaO91hqGxDRk1Tu_!!3978704328-0-cib.jpg"},{"properties": "0:13","url": "https://cbu01.alicdn.com/img/ibank/O1CN01xD8Ejo1hqH3dLoFjb_!!3978704328-0-cib.jpg"},{"properties": "0:14","url": "https://cbu01.alicdn.com/img/ibank/O1CN01YhhIRL1hqH3lgzj4p_!!3978704328-0-cib.jpg"},{"properties": "0:15","url": "https://cbu01.alicdn.com/img/ibank/O1CN01ZwO17Q1hqH3jk6ZYi_!!3978704328-0-cib.jpg"},{"properties": "0:16","url": "https://cbu01.alicdn.com/img/ibank/13059998398_400746914.jpg"}]},"property_alias": "0:0:瑞贝兔;0:1:洛洛小恐龙;0:2:悠悠兔;0:3:格林熊;0:4:尼尼狮;0:5:尤里狐;0:6:米尼猪;0:7:瑞克鸡;0:8:萌萌狗;0:9:瑞贝兔(plus版本);0:10:悠悠兔(plus版本);0:11:小恐龙(plus版本);0:12:尼尼狮(plus版本);0:13:太空舱学坐椅-瑞贝兔;0:14:太空舱学坐椅-咩咩羊;0:15:太空舱学坐椅-洛洛恐龙;0:16:布丁熊","props": [{"name": "货号","show": false,"value": "456"},{"name": "是否进口","show": false,"value": "否"},{"name": "产地","show": false,"value": "浙江"},{"name": "货源类别","show": false,"value": "现货"},{"name": "品牌","show": false,"value": "其他"},{"name": "材质","show": false,"value": "海绵"},{"name": "适用年龄","show": false,"value": "6个月以上"},{"name": "颜色","show": false,"value": "瑞贝兔,洛洛小恐龙,悠悠兔,布丁熊,格林熊,尼尼狮,尤里狐,米尼猪,瑞克鸡,萌萌狗,瑞贝兔(plus版本),悠悠兔(plus版本),小恐龙(plus版本),尼尼狮(plus版本),太空舱学坐椅-瑞贝兔,太空舱学坐椅-咩咩羊,太空舱学坐椅-洛洛恐龙"},{"name": "是否跨境出口专供货源","show": false,"value": "否"}],"total_sold": null,"skus": {"sku": [{"price": "314.00","total_price": 0,"sales": "36","properties": "0:0","properties_name": "0:0:颜色:瑞贝兔","quantity": "4964","sku_id": "5140692509386","spec_id": "434b4733c0ab80c764568460ca461626"},{"price": "314.00","total_price": 0,"sales": "17868","properties": "0:1","properties_name": "0:1:颜色:洛洛小恐龙","quantity": "4446","sku_id": "3970787466016","spec_id": "2347ff7768ce5b080a1bfb9e9c04c5f0"},{"price": "314.00","total_price": 0,"sales": "15029","properties": "0:2","properties_name": "0:2:颜色:悠悠兔","quantity": "4559","sku_id": "3970787466017","spec_id": "f17293c355d13c469747b05f84578fb4"},{"price": "314.00","total_price": 0,"sales": "1119","properties": "0:3","properties_name": "0:3:颜色:格林熊","quantity": "2026","sku_id": "4260268916684","spec_id": "709090a0f521494834522ddee4d90172"},{"price": "314.00","total_price": 0,"sales": "11923","properties": "0:4","properties_name": "0:4:颜色:尼尼狮","quantity": "3964","sku_id": "4260268916685","spec_id": "8825ca0828a126abd1beee99c722e0c5"},{"price": "314.00","total_price": 0,"sales": "2792","properties": "0:5","properties_name": "0:5:颜色:尤里狐","quantity": "1590","sku_id": "4260268916683","spec_id": "63d5ae8ea486f5bfc25f20621b847f21"},{"price": "314.00","total_price": 0,"sales": "1248","properties": "0:6","properties_name": "0:6:颜色:米尼猪","quantity": "2658","sku_id": "4397558813893","spec_id": "0d2ba15de131ae9c857d8212c6ab907d"},{"price": "314.00","total_price": 0,"sales": "1051","properties": "0:7","properties_name": "0:7:颜色:瑞克鸡","quantity": "1855","sku_id": "4397558813894","spec_id": "6cad2b6d2dec24b943e40e14eaab7cbf"},{"price": "314.00","total_price": 0,"sales": "1102","properties": "0:8","properties_name": "0:8:颜色:萌萌狗","quantity": "1770","sku_id": "4539361301915","spec_id": "d86229162d0a1ad8ed270438e757a9e9"},{"price": "369.00","total_price": 0,"sales": "21","properties": "0:9","properties_name": "0:9:颜色:瑞贝兔(plus版本)","quantity": "7378","sku_id": "5140692509387","spec_id": "bdfbf7a4d5ab04790a39d4f382c6abcb"},{"price": "369.00","total_price": 0,"sales": "1812","properties": "0:10","properties_name": "0:10:颜色:悠悠兔(plus版本)","quantity": "7659","sku_id": "4863778116683","spec_id": "a058aa1227b1a31768b42dff22740b10"},{"price": "369.00","total_price": 0,"sales": "2358","properties": "0:11","properties_name": "0:11:颜色:小恐龙(plus版本)","quantity": "7523","sku_id": "4863778116682","spec_id": "10f340a8112adc31bf9b58378bb5e0dc"},{"price": "369.00","total_price": 0,"sales": "2981","properties": "0:12","properties_name": "0:12:颜色:尼尼狮(plus版本)","quantity": "7225","sku_id": "4891683965546","spec_id": "57b7ed3fdd875bf2befc0b0849614b43"},{"price": "293.00","total_price": 0,"sales": "4","properties": "0:13","properties_name": "0:13:颜色:太空舱学坐椅-瑞贝兔","quantity": "7476","sku_id": "5296477114081","spec_id": "b07b4b9069d468c59c71b422634be520"},{"price": "293.00","total_price": 0,"sales": "2","properties": "0:14","properties_name": "0:14:颜色:太空舱学坐椅-咩咩羊","quantity": "7478","sku_id": "5296477114080","spec_id": "a21dc0787f67b01775724f77b3845560"},{"price": "293.00","total_price": 0,"sales": "2","properties": "0:15","properties_name": "0:15:颜色:太空舱学坐椅-洛洛恐龙","quantity": "7478","sku_id": "5296477114079","spec_id": "57eca27c6bd2886a29a663d2815c3e2c"},{"price": "314.00","total_price": 0,"sales": "729","properties": "0:16","properties_name": "0:16:颜色:布丁熊","quantity": "0","sku_id": "3970787466018","spec_id": "bddcc92ced7a34224da5e1d288add79c"}]},"seller_id": "3978704328","sales": 4100,"shop_id": "3978704328","props_list": {"0:0": "颜色:瑞贝兔","0:1": "颜色:洛洛小恐龙","0:2": "颜色:悠悠兔","0:3": "颜色:格林熊","0:4": "颜色:尼尼狮","0:5": "颜色:尤里狐","0:6": "颜色:米尼猪","0:7": "颜色:瑞克鸡","0:8": "颜色:萌萌狗","0:9": "颜色:瑞贝兔(plus版本)","0:10": "颜色:悠悠兔(plus版本)","0:11": "颜色:小恐龙(plus版本)","0:12": "颜色:尼尼狮(plus版本)","0:13": "颜色:太空舱学坐椅-瑞贝兔","0:14": "颜色:太空舱学坐椅-咩咩羊","0:15": "颜色:太空舱学坐椅-洛洛恐龙","0:16": "颜色:布丁熊"},"seller_info": {"nick": "安吉曼龙家居用品有限公司","user_num_id": "3978704328","sid": "b2b-39787043287ae07","title": "浙江曼龙家居用品有限公司","zhuy": "https://winport.m.1688.com/page/index.html?memberId=b2b-39787043287ae07","shop_name": "安吉曼龙家居用品有限公司"},"tmall": "false","error": "","warning": "","url_log": [],"unit": null,"is_support_mix": "true","mix_amount": "1","mix_begin": "0","mix_number": "2147483647","scale": "","sellUnit": "个","props_img": {"0:0": "https://cbu01.alicdn.com/img/ibank/O1CN01G9QIk21hqH44WtlCs_!!3978704328-0-cib.jpg","0:1": "https://cbu01.alicdn.com/img/ibank/13059989792_400746914.jpg","0:2": "https://cbu01.alicdn.com/img/ibank/13059992569_400746914.jpg","0:3": "https://cbu01.alicdn.com/img/ibank/12607397357_400746914.jpg","0:4": "https://cbu01.alicdn.com/img/ibank/12569956222_400746914.jpg","0:5": "https://cbu01.alicdn.com/img/ibank/12607388706_400746914.jpg","0:6": "https://cbu01.alicdn.com/img/ibank/17553257811_400746914.jpg","0:7": "https://cbu01.alicdn.com/img/ibank/17482684149_400746914.jpg","0:8": "https://cbu01.alicdn.com/img/ibank/O1CN01acYlgA1hqGs8uJd3J_!!3978704328-0-cib.jpg","0:9": "https://cbu01.alicdn.com/img/ibank/O1CN01b8uIbO1hqH419LUhC_!!3978704328-0-cib.jpg","0:10": "https://cbu01.alicdn.com/img/ibank/O1CN01kW3Wye1hqGwD7K65Y_!!3978704328-0-cib.jpg","0:11": "https://cbu01.alicdn.com/img/ibank/O1CN01rZ0GoO1hqGwEsvJKh_!!3978704328-0-cib.jpg","0:12": "https://cbu01.alicdn.com/img/ibank/O1CN01q1RaO91hqGxDRk1Tu_!!3978704328-0-cib.jpg","0:13": "https://cbu01.alicdn.com/img/ibank/O1CN01xD8Ejo1hqH3dLoFjb_!!3978704328-0-cib.jpg","0:14": "https://cbu01.alicdn.com/img/ibank/O1CN01YhhIRL1hqH3lgzj4p_!!3978704328-0-cib.jpg","0:15": "https://cbu01.alicdn.com/img/ibank/O1CN01ZwO17Q1hqH3jk6ZYi_!!3978704328-0-cib.jpg","0:16": "https://cbu01.alicdn.com/img/ibank/13059998398_400746914.jpg"},"sales_data": null,"_ddf": "ti","sales_info": {"seller_num": "","repeat_rate_purchase": "","per_capita_purchases": "","comment_num": "","comment_url": ""},"format_check": "ok","shop_item": [],"relate_items": []},

四、接口实现

为了实现上述接口,我们需要进行以下步骤:

  1. 在微信小程序后台开通自营商城,并获取到微信小程序ID和秘钥。
  2. 在1688平台上注册账号,并获取到API权限和秘钥。
  3. 使用第三方开发工具(如Postman)或者自行编写程序,调用1688往微信小程序自营商城铺货商品采集API接口。
  4. 在采集商品信息时,需要按照接口设计的要求传入查询参数和商品信息等数据。
  5. 在更新商品信息时,需要按照接口设计的要求传入待更新商品的ID和更新后的商品信息等数据。
  6. 在删除商品信息时,需要按照接口设计的要求传入待删除商品的ID。
  7. 根据接口返回的结果,判断操作是否成功。如果操作成功,则表示商品信息已经成功采集、更新或删除;如果操作失败,则需要进行错误处理和提示用户。

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.rhkb.cn/news/192289.html

如若内容造成侵权/违法违规/事实不符,请联系长河编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

网络编程 —— TCP 和 UDP 编程详解

目录 网络编程主要函数介绍 1. socket 函数 2. bind 函数 3. listen 函数 4. accept 函数 5. connect 函数 6. send 函数 7. recv 函数 8. recvfrom 函数 9. sendto 函数 TCP 和 UDP 原理上的区别 TCP 编程 服务端代码&#xff1a; 客户端代码&#xff1a; UDP 编…

Android设计模式--工厂模式

一&#xff0c;定义 工厂模式与Android 设计模式--单例模式-CSDN博客&#xff0c;Android设计模式--Builder建造者模式-CSDN博客&#xff0c;Android设计模式--原型模式-CSDN博客 一样&#xff0c;都是创建型设计模式。 工厂模式就是定义一个用于创建对象的接口&#xff0c;让…

225.用队列实现栈(LeetCode)

思路 思路&#xff1a;用两个队列实现栈后进先出的特性 &#xff0c;两个队列为空时&#xff0c;先将数据都导向其中一个队列。 当要模拟出栈时&#xff0c;将前面的元素都导入另一个空队列&#xff0c;再将最后一个元素移出队列 实现 实现&#xff1a; 因为C语言没有库可以…

uni-app报错“本应用使用HBuilderX x.x.x 或对应的cli版本编译,而手机端SDK版本是x.x.x不匹配的版本可能造成应用异常”

uniapp开发的一个跨平台软件&#xff0c;在安卓模拟器上启动的时候报警告&#xff1a; 官方给的解释&#xff1a;uni-app运行环境版本和编译器版本不一致的问题 - DCloud问答 解决办法有两个 方法一&#xff1a;添加忽略警告的配置 项目根目录下找到 manifest.json&#xf…

LeetCode算法心得——高级访客(模拟枚举+小窗口)

大家好&#xff0c;我是晴天学长&#xff0c;今天的周赛第二题&#xff0c;需要的小伙伴可以关注支持一下哦&#xff01;后续会继续更新的。&#x1f4aa;&#x1f4aa;&#x1f4aa; 1) .高级访客 给你一个长度为 n 、下标从 0 开始的二维字符串数组 access_times 。对于每个 …

Spark SQL编程

1. Spark SQL概述 1.1 什么是Spark SQL Spark SQL是用于结构化数据处理的Spark模块。与基本的Spark RDD API不同&#xff0c;Spark SQL提供的接口为Spark提供了有关数据结构和正在执行的计算的更多信息。在内部&#xff0c;Spark SQL使用这些额外的信息来执行额外的优化。与Spa…

一文讲清生产质量场景的数据分析思路及案例实战

今天&#xff0c;顺着制造业数据分析这个大主题&#xff0c;我们来讲讲质量管理数据分析。   说起质量管理&#xff0c;就是对所生产的产品质量进行管理&#xff0c;其最终目的就是保证客户收到的产品质量&#xff0c;提高客户满意度&#xff0c;减少退货和维修的数量。质量管…

Netty Review - 从BIO到NIO的进化推演

文章目录 BIODEMO 1DEMO 2小结论单线程BIO的缺陷BIO如何处理并发多线程BIO服务器的弊端 NIONIO要解决的问题模拟NIO方案一&#xff1a; &#xff08;等待连接时和等待数据时不阻塞&#xff09;方案二&#xff08;缓存Socket&#xff0c;轮询数据是否准备好&#xff09;方案二存…

【计算机网络笔记】CIDR与路由聚合

系列文章目录 什么是计算机网络&#xff1f; 什么是网络协议&#xff1f; 计算机网络的结构 数据交换之电路交换 数据交换之报文交换和分组交换 分组交换 vs 电路交换 计算机网络性能&#xff08;1&#xff09;——速率、带宽、延迟 计算机网络性能&#xff08;2&#xff09;…

日历应用程序 BusyCal mac中文版软件特点

BusyCal mac是一款日历应用程序&#xff0c;它可以帮助用户轻松地管理日程安排、事件提醒、会议安排等。BusyCal 支持 macOS 和 iOS 平台&#xff0c;并且可以与 iCloud、Google 日历、Exchange 等多种日历服务进行同步。 BusyCal mac软件特点 强大的日历功能&#xff1a;Busy…

单链表经典OJ题(三)

目录 1、反转链表 2、合并两个有序链表 3、链表的中间结点 4、环形链表的约瑟夫问题 5、移除链表元素 6、移除元素 1、反转链表 206. 反转链表 - 力扣&#xff08;LeetCode&#xff09; 翻转链表的实质就是更改当前结点的前驱结点和后继结点 假设原链表为:1->2->…

【nlp】2.4 GRU模型

GRU模型 1 GRU介绍2 GRU的内部结构图2.1 GRU结构分析2.2 Bi-GRU介绍2.3 使用Pytorch构建GRU模型2.4 GRU优缺点3 RNN及其变体1 GRU介绍 GRU(Gated Recurrent Unit)也称门控循环单元结构, 它也是传统RNN的变体, 同LSTM一样能够有效捕捉长序列之间的语义关联, 缓解梯度消失或爆…

Day29力扣打卡

打卡记录 美丽塔 II&#xff08;前后缀分解 单调栈&#xff09; 链接 大佬的题解 class Solution:def maximumSumOfHeights(self, a: List[int]) -> int:n len(a)suf [0] * (n 1)st [n] # 哨兵s 0for i in range(n - 1, -1, -1):x a[i]while len(st) > 1 and …

​TechSmith Camtasia 2024破解版功能介绍及使用教程

在现在的网络互联网时代&#xff0c;越来越多的人走上了自媒体的道路。有些自媒体人会自己在网络上录制精彩视频&#xff0c;也有一些人会将精彩、热门的电影剪辑出来再加上自己给它的配音&#xff0c;做成大家喜欢看的电影剪辑片段。相信不管大家是自己平时有独特的爱好也好、…

Django(五、视图层)

文章目录 一、视图层1.视图函数返回值的问题2.三板斧的使用结论&#xff1a;在视图文件中写视图函数的时候不能没有返回值&#xff0c;默认返回的是None&#xff0c;但是页面上会报错&#xff0c;用来处理请求的视图函数都必须返回httpResponse对象。 二、JsonReponse序列化类的…

[单片机课程设计报告汇总] 单片机设计报告常用硬件元器件描述

[单片机课程设计必看] 单片机设计报告常用描述 硬件设计 AT89C51最小系统 AT89C51是美国ATMEL公司生产的低电压&#xff0c;高性能CMOS16位单片机&#xff0c;片内含4k bytes的可反复擦写的只读程序存储器和128 bytes的随机存取数据存储器&#xff0c;期间采用ATMEL公司的高…

FreeRTOS源码阅读笔记3--queue.c

消息队列可以应用于发送不定长消息的场合&#xff0c;包括任务与任务间的消息交换&#xff0c;队列是 FreeRTOS 主要的任务间通讯方式&#xff0c;可以在任务与任务间、中断和任务间传送信息&#xff0c;发送到 队列的消息是通过拷贝方式实现的&#xff0c;这意味着队列存储…

Python入门:一文详解Python列表(List)操作方法

文章目录 前言一、创建一个列表二、访问列表中的值三、更新列表四、删除列表元素六、Python列表截取七、Python列表操作的函数和方法关于Python技术储备一、Python所有方向的学习路线二、Python基础学习视频三、精品Python学习书籍四、Python工具包项目源码合集①Python工具包②…

部署百川大语言模型Baichuan2

Baichuan2是百川智能推出的新一代开源大语言模型&#xff0c;采用 2.6 万亿 Tokens 的高质量语料训练。在多个权威的中文、英文和多语言的通用、领域 benchmark 上取得同尺寸最佳的效果。包含有 7B、13B 的 Base 和 Chat 版本&#xff0c;并提供了 Chat 版本的 4bits 量化。 模…

网络运维Day16

文章目录 Docker简介什么是容器命名空间&#xff1a; Docker 的优缺点 Docker安装Docker镜像管理什么是镜像镜像管理 Docker容器管理运行容器容器启动、停止、重启拷贝文件进入容器容器与应用 DockerfileDockerfile 语法案例 总结 Docker简介 什么是容器 容器是用来装东西的&a…