优特云
[ { "name": "首页", "url": "http://www.utyun.com/", "target": "0", "child": [] }, { "name": "活动", "url": "http://www.utyun.com/h-col-141.html", "target": "0", "child": [] }, { "name": "产品", "url": "", "target": "1", "child": [ { "name": "U语言", "url": "http://www.utyun.com/h-col-176.html", "target": "0", "child": [] }, { "name": "U平台", "url": "http://www.utyun.com/h-col-150.html", "target": "0", "child": [] } ] }, { "name": "技术与服务", "url": "", "target": "1", "child": [ { "name": "运维服务", "url": "http://www.utyun.com/h-col-161.html", "target": "0", "child": [] }, { "name": "技术方案", "url": "http://www.utyun.com/h-col-178.html", "target": "0", "child": [] } ] }, { "name": "优特云学院", "url": "", "target": "1", "child": [ { "name": "教程", "url": "http://www.utyun.com/h-col-166.html", "target": "0", "child": [] }, { "name": "下载中心", "url": "http://www.utyun.com/h-col-170.html", "target": "0", "child": [] }, { "name": "论坛", "url": "http://www.utyun.com/h-col-169.html", "target": "0", "child": [] } ] }, { "name": "关于优特云", "url": "", "target": "1", "child": [ { "name": "企业概况", "url": "http://www.utyun.com/h-col-171.html", "target": "0", "child": [] }, { "name": "新闻动态", "url": "http://www.utyun.com/h-col-172.html", "target": "0", "child": [] }, { "name": "加入我们", "url": "http://www.utyun.com/h-col-173.html", "target": "0", "child": [] }, { "name": "团队风采", "url": "http://www.utyun.com/h-col-140.html", "target": "0", "child": [] } ] } ]
全局ID
全局ID-使用手册

奕河 最后一次编辑

3 年多前 75

组件介绍

在复杂分布式系统中,往往需要对大量的数据和消息进行唯一标识,由平台提供的全局ID可以保证唯一性,不会出现重复的ID。

API 参考

API 列表(共4个)

序号接口名称接口描述版本
1生成 Long 类型ID-需要登陆GET: /uid_longV1.00
2生成 Long 类型ID-无需登录GET: /public/uid_longV1.00
3生成 String 类型ID-需要登陆GET: /uid_strV1.00
4生成 String 类型ID-无需登录GET: /public/uid_strV1.00

生成 Long 类型ID

基本信息
Path: /uid_long
Method: GET
接口描述
请求参数
返回参数
名称类型是否必须默认值备注其他信息
integer非必须format: int64

生无需登录调用:

基本信息
Path: /public/uid_long
Method: GET
接口描述
请求参数
返回参数
名称类型是否必须默认值备注其他信息
integer非必须format: int64

生成 String 类型ID

已经登录调用:

基本信息
Path:/uid_str
Method: GET
接口描述
请求参数
返回参数
名称类型是否必须默认值备注其他信息
string非必须

无需登录调用:

基本信息
Path:/public/uid_str
Method: GET
接口描述
请求参数
返回参数
名称类型是否必须默认值备注其他信息
string非必须

产品版本

日期修改描述作者
2019-7-24初版发布平台产品部

更新日志

日期修改描述
2019-7-24

优特云