电商数据API接口开发一键接入1688阿里巴巴api接口item_get-获得1688阿里巴巴商品详情api演示

要接入阿里巴巴1688 API接口获取商品详情,首先需要在开放平台注册一个账号并创建应用。创建应用后,你会得到Api Key和Api Secret,这两个参数将用于调用API接口。

接下来,你需要选择一个合适的阿里巴巴1688 API接口,例如alibaba.item.get(获取单个商品的详细信息),这个接口可以获取到商品详情的相关信息。

以下是一个使用Python调用阿里巴巴1688 API接口的示例代码:

# coding:utf-8
"""
Compatible for python2.x and python3.x
requirement: pip install requests
"""
from __future__ import print_function
import requests
# 请求示例 url 默认请求参数已经做URL编码
url = "https://item_get/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=610947572360"
headers = {"Accept-Encoding": "gzip","Connection": "close"
}
if __name__ == "__main__":r = requests.get(url, headers=headers)json_obj = r.json()print(json_obj)

接口请求示例

{"item":{"num_iid":601824709263,"title":"韩版仿兔毛围巾秋冬毛毛围巾学生毛毛绒围脖冬季女套头防寒户外","desc_short":"","price":"2.2","total_price":0,"suggestive_price":0,"orginal_price":"2.2","nick":"_sopid@BBBEbRNm7OS0uGCXPJucMBy2w","num":3786174,"min_num":2,"detail_url":"https://detail.1688.com/offer/601824709263.html","pic_url":"https://cbu01.alicdn.com/img/ibank/11921650503_1818272533.jpg","brand":"","brandId":"","rootCatId":0,"cid":325,"crumbs":[],"created_time":"","modified_time":"","delist_time":"","desc":"<div id=\"offer-template-0\"></div><div > </div>\r\n<div ><span ><strong> <span >材质:双面仿兔毛毛绒面料,</span></strong></span></div>\r\n<div ><span ><strong><span >不掉毛(不是薄薄的单面哦)</span></strong></span></div>\r\n<div ><span ><strong ><span >厚款3.39元</span></strong></span></div>\r\n<div ><span ><strong><span ><span >普通款2.38元</span></span></strong></span></div>\r\n<div ><span ><strong><span ><span >每条围巾都是独立OPP袋子包装,放心选购!</span></span></strong></span></div>\r\n<div ><span ><strong><span >现货供应,厂家直销,没有中间商赚差价,有大量可以谈价,有量有价</span></strong></span></div>\r\n<div ><span ><strong><span >(抖音,快手,直播电商福利品,天猫,淘宝,PDD,跨境电商供应商)</span></strong></span></div>\r\n<div ><strong><span ><span ><span >这款围巾是不掉毛的,有些激光高温裁剪残留的浮毛,抖抖就好了哦。</span></span></span></strong></div>\r\n<div > </div>\r\n<div ><span ><img src=\"https://cbu01.alicdn.com/img/ibank/O1CN01emutXa27pyd6vYZzm_!!2206475177847-0-cib.jpg\" alt=\"undefined\"/><br/><strong>此图拉拉袋包装的为客户定做款(大货是OPP透明袋独立包装)</strong><br/><img  src=\"https://img.alicdn.com/imgextra/i3/2272041426/O1CN01kFnNOl1MP9H5642lo_!!2272041426.jpg\" align=\"absmiddle\"/></span></div>\r\n<div ><img src=\"https://img.alicdn.com/imgextra/i3/2272041426/TB2lZSUX7iHJuJjSZFjXXcGvXXa_!!2272041426.jpg\" align=\"absmiddle\"/><img src=\"https://img.alicdn.com/imgextra/i2/2272041426/TB2rvmVXYSGJuJjSZFqXXXo2pXa_!!2272041426.jpg\" align=\"absmiddle\"/></div>\r\n<div > </div>\r\n<p><img src=\"https://img.alicdn.com/imgextra/i3/2272041426/O1CN01EKuyER1MP9LVqRODf_!!2272041426.jpg\" align=\"absmiddle\"/></p>\r\n<p> </p>\r\n<p><img src=\"https://img.alicdn.com/imgextra/i3/2272041426/O1CN01fH7zeu1MP9LXYMDb9_!!2272041426.jpg\" align=\"absmiddle\"/></p>\r\n<p> </p>\r\n<p><img src=\"https://img.alicdn.com/imgextra/i3/2272041426/O1CN01o03kWB1MP9LUPh2vD_!!2272041426.jpg\" align=\"absmiddle\"/></p>\r\n<p> </p>\r\n<p><img src=\"https://img.alicdn.com/imgextra/i4/2272041426/O1CN01zAl3p11MP9LTi5nZh_!!2272041426.jpg\" align=\"absmiddle\"/></p>\r\n<p> </p>\r\n<p><img src=\"https://img.alicdn.com/imgextra/i3/2272041426/O1CN01Zv9KBT1MP9LUIKRow_!!2272041426.jpg\" align=\"absmiddle\"/></p>\r\n<p> </p>\r\n<p><img src=\"https://img.alicdn.com/imgextra/i3/2272041426/O1CN01VlbKPj1MP9LU0NVFN_!!2272041426.jpg\" align=\"absmiddle\"/></p>\r\n<p> </p>\r\n<p><img src=\"https://img.alicdn.com/imgextra/i4/2272041426/O1CN01MjaoVZ1MP9LTiFjny_!!2272041426.jpg\" align=\"absmiddle\"/></p>\r\n<p> </p>\r\n<p><img src=\"https://img.alicdn.com/imgextra/i4/2272041426/O1CN01junsnm1MP9LX5bOdM_!!2272041426.jpg\" align=\"absmiddle\"/></p>\r\n<p> </p>\r\n<p><img src=\"https://img.alicdn.com/imgextra/i2/2272041426/O1CN014Dv2oq1MP9LU0KgIb_!!2272041426.jpg\" align=\"absmiddle\"/></p>\r\n<p> </p>\r\n<p><img src=\"https://img.alicdn.com/imgextra/i4/2272041426/O1CN01jNA7KZ1MP9LUHdDBF_!!2272041426.jpg\" align=\"absmiddle\"/></p>\r\n<p> </p>\r\n<p><img src=\"https://img.alicdn.com/imgextra/i3/2272041426/O1CN01JZW4Hn1MP9LUHd91D_!!2272041426.jpg\" align=\"absmiddle\"/></p>\r\n<p> </p>\r\n<p><img src=\"https://img.alicdn.com/imgextra/i3/2272041426/O1CN01nSbj2H1MP9LVqZ2mg_!!2272041426.jpg\" align=\"absmiddle\"/></p>\r\n<p> </p>\r\n<p><img src=\"https://img.alicdn.com/imgextra/i4/2272041426/O1CN01HmPSpT1MP9LSDyrsr_!!2272041426.jpg\" align=\"absmiddle\"/></p>\r\n<p> </p>\r\n<p> </p>\r\n<div >..........</div><img src=\"https://www.o0b.cn/i.php?t.png&rid=gw-4.65990d0ea4c43&p=1778786759&k=92716&t=1704529167\" style=\"display:none\" />","desc_img":["https://cbu01.alicdn.com/img/ibank/O1CN01emutXa27pyd6vYZzm_!!2206475177847-0-cib.jpg","https://img.alicdn.com/imgextra/i3/2272041426/O1CN01kFnNOl1MP9H5642lo_!!2272041426.jpg","https://img.alicdn.com/imgextra/i3/2272041426/TB2lZSUX7iHJuJjSZFjXXcGvXXa_!!2272041426.jpg","https://img.alicdn.com/imgextra/i2/2272041426/TB2rvmVXYSGJuJjSZFqXXXo2pXa_!!2272041426.jpg","https://img.alicdn.com/imgextra/i3/2272041426/O1CN01EKuyER1MP9LVqRODf_!!2272041426.jpg","https://img.alicdn.com/imgextra/i3/2272041426/O1CN01fH7zeu1MP9LXYMDb9_!!2272041426.jpg","https://img.alicdn.com/imgextra/i3/2272041426/O1CN01o03kWB1MP9LUPh2vD_!!2272041426.jpg","https://img.alicdn.com/imgextra/i4/2272041426/O1CN01zAl3p11MP9LTi5nZh_!!2272041426.jpg","https://img.alicdn.com/imgextra/i3/2272041426/O1CN01Zv9KBT1MP9LUIKRow_!!2272041426.jpg","https://img.alicdn.com/imgextra/i3/2272041426/O1CN01VlbKPj1MP9LU0NVFN_!!2272041426.jpg","https://img.alicdn.com/imgextra/i4/2272041426/O1CN01MjaoVZ1MP9LTiFjny_!!2272041426.jpg","https://img.alicdn.com/imgextra/i4/2272041426/O1CN01junsnm1MP9LX5bOdM_!!2272041426.jpg","https://img.alicdn.com/imgextra/i2/2272041426/O1CN014Dv2oq1MP9LU0KgIb_!!2272041426.jpg","https://img.alicdn.com/imgextra/i4/2272041426/O1CN01jNA7KZ1MP9LUHdDBF_!!2272041426.jpg","https://img.alicdn.com/imgextra/i3/2272041426/O1CN01JZW4Hn1MP9LUHd91D_!!2272041426.jpg","https://img.alicdn.com/imgextra/i3/2272041426/O1CN01nSbj2H1MP9LVqZ2mg_!!2272041426.jpg","https://img.alicdn.com/imgextra/i4/2272041426/O1CN01HmPSpT1MP9LSDyrsr_!!2272041426.jpg"],"item_imgs":[{"url":"https://cbu01.alicdn.com/img/ibank/11921650503_1818272533.jpg"},{"url":"https://cbu01.alicdn.com/img/ibank/11921665153_1818272533.jpg"},{"url":"https://cbu01.alicdn.com/img/ibank/11884953047_1818272533.jpg"},{"url":"https://cbu01.alicdn.com/img/ibank/11954549050_1818272533.jpg"},{"url":"https://cbu01.alicdn.com/img/ibank/12483429103_1818272533.jpg"}],"item_weight":"","item_size":"","location":"浙江省 金华市","post_fee":"","express_fee":"","ems_fee":"","shipping_to":"","has_discount":"","video":"https://cloud.video.taobao.com/play/u/2206475177847/p/1/e/6/t/1/238604472723.mp4","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:颜色:卡其色","prop_imgs":{"prop_img":[{"properties":"0:0","url":"https://cbu01.alicdn.com/img/ibank/11884977080_1818272533.jpg"},{"properties":"0:1","url":"https://cbu01.alicdn.com/img/ibank/11954549680_1818272533.jpg"},{"properties":"0:2","url":"https://cbu01.alicdn.com/img/ibank/11921650503_1818272533.jpg"},{"properties":"0:3","url":"https://cbu01.alicdn.com/img/ibank/11921680795_1818272533.jpg"},{"properties":"0:4","url":"https://cbu01.alicdn.com/img/ibank/11954549050_1818272533.jpg"},{"properties":"0:5","url":"https://cbu01.alicdn.com/img/ibank/11921689268_1818272533.jpg"},{"properties":"0:6","url":"https://cbu01.alicdn.com/img/ibank/11954552765_1818272533.jpg"},{"properties":"0:7","url":"https://cbu01.alicdn.com/img/ibank/O1CN01PtW77W27pyekEhcAt_!!2206475177847-0-cib.jpg"},{"properties":"0:8","url":"https://cbu01.alicdn.com/img/ibank/O1CN01t2Q1ci27pyjXB0fxo_!!2206475177847-0-cib.jpg"}]},"property_alias":"0:0:红色;0:1:黑色;0:2:白色;0:3:灰色;0:4:杏色;0:5:粉色;0:6:咖啡色;0:7:米色;0:8:卡其色","props":[{"name":"品牌","value":"高着"},{"name":"编织方法","value":"经编"},{"name":"功能","value":"保暖"},{"name":"适合季节","value":"冬季"},{"name":"货号","value":"WJ618"},{"name":"产地","value":"浙江义乌"},{"name":"款式","value":"中长"},{"name":"颜色","value":"红色"},{"name":"颜色","value":"黑色"},{"name":"颜色","value":"白色"},{"name":"颜色","value":"灰色"},{"name":"颜色","value":"杏色"},{"name":"颜色","value":"粉色"},{"name":"颜色","value":"咖啡色"},{"name":"颜色","value":"米色"},{"name":"颜色","value":"卡其色"},{"name":"主要下游平台","value":"淘宝"},{"name":"主要下游平台","value":"京东"},{"name":"主要下游平台","value":"ebay"},{"name":"主要下游平台","value":"亚马逊"},{"name":"主要下游平台","value":"wish"},{"name":"主要下游平台","value":"快手"},{"name":"主要下游平台","value":"速卖通"},{"name":"主要下游平台","value":"天猫"},{"name":"主要下游平台","value":"独立站"},{"name":"主要下游平台","value":"LAZADA"},{"name":"主要下游平台","value":"拼多多"},{"name":"主要下游平台","value":"抖音"},{"name":"有可授权的自有品牌","value":"否"},{"name":"是否跨境出口专供货源","value":"是"},{"name":"上市年份/季节","value":"2021年秋季"},{"name":"宽度(CM)","value":"12cm"},{"name":"风格","value":"百搭"},{"name":"风格","value":"优雅"},{"name":"风格","value":"极简"},{"name":"风格","value":"休闲风"},{"name":"风格","value":"时尚OL"},{"name":"风格","value":"简约"},{"name":"风格","value":"欧美"},{"name":"风格","value":"轻奢风"},{"name":"风格","value":"chic风"},{"name":"风格","value":"高级感"},{"name":"面料名称","value":"毛绒"},{"name":"风格分类","value":"时尚通勤"},{"name":"处理工艺","value":"经编"},{"name":"流行元素分类","value":"无"}],"total_sold":3786174,"skus":{"sku":[{"price":4.99,"total_price":4.99,"orginal price":4.99,"properties":"0:0","properties_name":"0:0:颜色:红色","quantity":0,"sku_id":5330445855404,"spec_id":"87b07b1e746bd546e97a0f5888726ae3"},{"price":4.99,"total_price":4.99,"orginal price":4.99,"properties":"0:1","properties_name":"0:1:颜色:黑色","quantity":0,"sku_id":5330445855410,"spec_id":"e664b2e7c4adae52d35767f51a9219f6"},{"price":4.99,"total_price":4.99,"orginal price":4.99,"properties":"0:2","properties_name":"0:2:颜色:白色","quantity":0,"sku_id":5330445855398,"spec_id":"18dc5ba8c7dc3df0eb8b731977df2372"},{"price":4.99,"total_price":4.99,"orginal price":4.99,"properties":"0:3","properties_name":"0:3:颜色:灰色","quantity":8020,"sku_id":5330445855408,"spec_id":"05808df6001a6ffa6fa13ae7df588b36"},{"price":4.99,"total_price":4.99,"orginal price":4.99,"properties":"0:4","properties_name":"0:4:颜色:杏色","quantity":0,"sku_id":5330445855412,"spec_id":"1ab2b4cd3cc2b51ed4055978ca4b8579"},{"price":4.99,"total_price":4.99,"orginal price":4.99,"properties":"0:5","properties_name":"0:5:颜色:粉色","quantity":0,"sku_id":5330445855402,"spec_id":"7a394d5d7d8560fae263cd2ffe9ee444"},{"price":4.99,"total_price":4.99,"orginal price":4.99,"properties":"0:6","properties_name":"0:6:颜色:咖啡色","quantity":0,"sku_id":5330445855396,"spec_id":"423651c0792f75de75484ae9bd5fe535"},{"price":4.99,"total_price":4.99,"orginal price":4.99,"properties":"0:7","properties_name":"0:7:颜色:米色","quantity":0,"sku_id":5330445855400,"spec_id":"45b9c574ac45662aba79f2cb72d20112"},{"price":4.99,"total_price":4.99,"orginal price":4.99,"properties":"0:8","properties_name":"0:8:颜色:卡其色","quantity":0,"sku_id":5330445855406,"spec_id":"f7931f4b9892a8c41b76205cb1d50627"}]},"seller_id":null,"sales":0,"shop_id":null,"props_list":{"0:0":"颜色:红色","0:1":"颜色:黑色","0:2":"颜色:白色","0:3":"颜色:灰色","0:4":"颜色:杏色","0:5":"颜色:粉色","0:6":"颜色:咖啡色","0:7":"颜色:米色","0:8":"颜色:卡其色"},"seller_info":{"nick":null,"user_num_id":null,"sid":null,"title":null,"zhuy":null,"shop_name":null},"tmall":"false","error":"","warning":"","url_log":[],"unit":null,"is_support_mix":null,"mix_amount":null,"mix_begin":null,"mix_number":null,"priceRange":[[2,"2.2"]],"priceRangeOriginal":[],"_ddf":"sop","props_img":{"0:0":"https://cbu01.alicdn.com/img/ibank/11884977080_1818272533.jpg","0:1":"https://cbu01.alicdn.com/img/ibank/11954549680_1818272533.jpg","0:2":"https://cbu01.alicdn.com/img/ibank/11921650503_1818272533.jpg","0:3":"https://cbu01.alicdn.com/img/ibank/11921680795_1818272533.jpg","0:4":"https://cbu01.alicdn.com/img/ibank/11954549050_1818272533.jpg","0:5":"https://cbu01.alicdn.com/img/ibank/11921689268_1818272533.jpg","0:6":"https://cbu01.alicdn.com/img/ibank/11954552765_1818272533.jpg","0:7":"https://cbu01.alicdn.com/img/ibank/O1CN01PtW77W27pyekEhcAt_!!2206475177847-0-cib.jpg","0:8":"https://cbu01.alicdn.com/img/ibank/O1CN01t2Q1ci27pyjXB0fxo_!!2206475177847-0-cib.jpg"},"sales_info":{"seller_num":"","repeat_rate_purchase":"","per_capita_purchases":"","comment_num":"","comment_url":""},"format_check":"ok","shop_item":[],"relate_items":[]},"error":"","secache":"a1950f8cc13611671db129a5c7ae864a","secache_time":1704529167,"secache_date":"2024-01-06 16:19:27","translate_status":"","translate_time":0,"language":{"default_lang":"cn","current_lang":"cn"},"reason":"","error_code":"0000"

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

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

相关文章

Linux操作系统-09-Tcpdump流量监控工具

从防火墙的角度来看&#xff0c;从入侵攻击的特征来看&#xff0c;从入侵检测的防护手段来看&#xff0c;从流量分析预警的来看&#xff0c;几乎所有的网络安全攻防的一些行为都可以通过流量来进行处理。 一、流量监控特征 对一个通信过程分析&#xff0c;首先需要把握5个最基…

软件测试6年,我的心路历程。。。

&#x1f345; 视频学习&#xff1a;文末有免费的配套视频可观看 &#x1f345; 点击文末小卡片&#xff0c;免费获取软件测试全套资料&#xff0c;资料在手&#xff0c;涨薪更快 现在的大环境下&#xff0c;各行各业都开始内卷起来&#xff0c;测试也不例外&#xff0c;企业要…

LeetCode——两数相加

目录 一、两数相加 1、题目 2、题目解读 3、代码 二、反转链表 1、题目 2、题目解读 3、代码 三、两数相加 II 1、题目 2、题目解读 3、代码 反转链表再进行计算 借助栈 一、两数相加 1、题目 2. 两数相加 - 力扣&#xff08;Leetcode&#xff09; 给你两个 非…

【ES6】字符串新增方法

目录 1.String.fromCharCode() 2.String.raw() 3.实例方法&#xff1a;codePointAt() 4.实例方法&#xff1a;normalize() 5.实例方法&#xff1a;includes()、startWith()、endWith() 6.实例方法&#xff1a;padStart()、padEnd() 7.实例方法&#xff1a;repeat() 8.实…

MS16_016 漏洞利用与安全加固

文章目录 环境说明1 MS16_016 简介2 MS16_016 复现过程3 MS16_016 安全加固 环境说明 渗透机操作系统&#xff1a;kali-linux-2024.1-installer-amd64漏洞复现操作系&#xff1a;cn_windows_7_professional_with_sp1_x64_dvd_u_677031 1 MS16_016 简介 MS16_016 漏洞产生的原因…

华为机试题-最小矩阵

题目 给定一个矩阵&#xff0c;包含 N∗M 个整数&#xff0c;和一个包含 K 个整数的数组。现在要求在这个矩阵中找一个宽度最小的子矩阵&#xff0c;要求子矩阵包含数组中所有的整数。 输入描述: 第一行输入两个正整数N&#xff0c;M&#xff0c;表示矩阵大小。 接下来 N 行 M …

蓝桥杯数论基础知识Java代码

数论 欧几里得算法求最大公约数 import java.util.*; class Main {public static void main(String[] args){Scanner sc new Scanner(System.in);int asc.nextInt();int bsc.nextInt();System.out.print(gcd(a,b));}public static int gcd(int a,int b){return b!0 ? gcd(b…

WebServer -- 八股(终章)

&#x1f442; Honey Honey - 孙燕姿 - 单曲 - 网易云音乐 目录 &#x1f33c;触类旁通 &#x1f6a9;线程 && 进程 线程与进程的区别 多线程锁是什么 进程 / 线程 / 协程 的区别 线程切换时&#xff0c;需要切换的状态 &#x1f382;并发 && 并行 并…

Java基础夯实——八股文【2024面试题案例代码】

1、Java当中的基本数据类型 Java中常见的数据类型及其对应的字节长度和取值范围如下&#xff1a; byte&#xff1a;1字节&#xff0c;取值范围为-128到127。short&#xff1a;2字节&#xff0c;取值范围为-32,768到32,767。int&#xff1a;4字节&#xff0c;取值范围为-2,147…

【数据挖掘】练习2:数据管理2

课后作业2&#xff1a;数据管理2 一&#xff1a;上机实验2 # 编写函数stat&#xff0c;要求该函数同时计算均值&#xff0c;最大值&#xff0c;最小值&#xff0c;标准差&#xff0c;峰度和偏度。 install.packages("timeDate") library(timeDate) stat <- func…

Swagger Array 使用指南:详解与实践

Swagger 允许开发者定义 API 的路径、请求参数、响应和其他相关信息&#xff0c;以便生成可读性较高的文档和自动生成客户端代码。而 Array &#xff08;数组&#xff09;是一种常见的数据结构&#xff0c;用于存储和组织多个相同类型的数据元素。数组可以有不同的维度和大小&a…

windows平台Qt5连接wifi

文章目录 Windows WLAN API的使用代码中的关键点代码WifiHelper类的功能注意事项Windows WLAN API的使用 WlanOpenHandle:打开一个WLAN客户端句柄,用于后续的WLAN操作。WlanCloseHandle:关闭WLAN客户端句柄。WlanRegisterNotification:注册一个函数,该函数会在指定的WLAN接…

腾讯钟学丹:人工智能成为汽车行业新质生产力 推动数智化升级

近日&#xff0c;在中国电动汽车百人会论坛&#xff08;2024&#xff09;新质生产力分论坛上&#xff0c;腾讯智慧出行副总裁钟学丹发表了题为《AI驱动汽车“新智能”》的主题演讲&#xff0c;分享了腾讯AI大模型等新技术在汽车产业的创新应用成果。 腾讯智慧出行副总裁钟学丹 …

【鸿蒙HarmonyOS开发笔记】如何使用图片插帧将低像素图片清晰放大

开发UI时&#xff0c;当我们的原图分辨率较低并且需要放大显示时&#xff0c;图片会模糊并出现锯齿。如下图所示 这时可以使用interpolation()方法对图片进行插值&#xff0c;使图片显示得更清晰。该方法的参数为ImageInterpolation枚举类型&#xff0c;可选的值有: ImageInte…

预防诈骗之兼职,赚钱App的弊端

前言&#xff1a; 本期文章是我一个民警朋友让我发布的一期关于诈骗的文章&#xff0c;在2024年3月某日&#xff0c;一人在某某兼职赚钱类app被骗200元&#xff0c;所以请认真详细的观看完&#xff0c;实实预防诈骗&#xff0c;诈骗一直存在于身边&#xff0c;随着科技的发展&…

主键约束

Oracle从入门到总裁:​​​​​​https://blog.csdn.net/weixin_67859959/article/details/135209645 主键约束可以看成是非空约束再加上唯一约束 也就是说设置为主键列&#xff0c;不能为空&#xff0c;不能重复 像一般用户编号是不可能重复的&#xff0c;也不可能为空的 …

C#开发中方法使用的问题注意

C#开发中&#xff0c;我们在进行方法内嵌时&#xff0c;需要注意方法回传带值时&#xff0c;我们需要对方法回传的值进行一个赋值传递 如下所示 console.WriteLine("请输入你的爱好&#xff1a;"); string aihao Console.ReadLine(); name ChangeData(name);同时在…

找不到msvcp110.dll怎么办,msvcp110.dll丢失的5种修复方法

在计算机使用过程中&#xff0c;我们经常会遇到一些错误提示&#xff0c;其中之一就是“msvcp110.dll丢失”。由于msvcp110.dll是Microsoft Visual C Redistributable Package的重要组成部分&#xff0c;它的缺失会导致依赖于该组件的软件无法正常启动或运行&#xff0c;比如某…

Java开发者的新宠:探索轻量级且功能强大的Magic-API

Java开发者的新宠&#xff1a;探索轻量级且功能强大的Magic-API 一、Magic-API简介二、Magic-API的核心特性三、结语 大家好&#xff0c;这里是程序猿代码之路&#xff0c;在当今的软件开发领域&#xff0c;快速迭代和高效交付是每个项目追求的目标。对于Java开发者来说&#x…

汽车电子零部件(7):电机Motor

前言: 新能源汽车的三大件是:电池、电机、电控。可见电机的重要性,可以说直接就取代了发动机。而用到电机的地方不仅仅有驱动四轮,还有方向盘、门窗甚至电池热管理等也都是需要电机这个器件的。当然就电机而言又分变频电机和直流电机,有刷电机和无刷电机。从架构上说,需…