码迷,mamicode.com
首页 > 其他好文 > 详细

hzero

时间:2021-02-03 11:04:57      阅读:0      评论:0      收藏:0      [点我收藏+]

标签:权限   public   pre   secret   采购   mtr   iss   ESS   pass   

1.rest获取 授权调用例子

技术图片

 

 技术图片

 

 

总仓出库结果接口地址:

http://dev.hzero.super.com:8080/mes/v1/4/z-lighting-shelf-ifaces/receiveLightingShelfIface传入token参数:

Authorization:bearer ae51a2d6-7a19-4834-ad8d-aba3cf639460 (token_type+空格+access_token)

传入参数:

[

{

"cellId": "1",

"client": "1",

"code": "1",

"massage": "11",

"rackId": "11",

"reelId": "11",

"sheetId": "11",

"timestamp": "11"

}

]

 

返回参数:

{

"code": "1",

"message": "11:该单号在指令单中不存在;"

}

去表:oauth_client

查client_id

获取token地址:

http://10.30.35.116:8080/oauth/oauth/token

获取token参数:

grant_type:password

client_id:super-hwms-front

client_secret:secret

username:wms

password:eqwg7n3n6tD7jat2RQu9ybdPJ0QDCEOnvhSQmtRkBma8iQ1q6CzPAzAHJo0J3L+sB6PPhy1J3F9qZh0inZM+lg==

 

docket.tags(new Tag("wmsMaterialLot", "条码查询"),
new Tag("MaterialLotHIPS", "实物条码查询"),
new Tag("wmsDeliveryDoc", "送货单查询"),
new Tag("wmsContainer", "物流器具条码"),
new Tag("ReceiptInPurchasingHips", "采购到货接收"),
new Tag("MiscOutHips", "杂发"));
docket.tags(new Tag("MaterialDataMaintain", "物料数据维护"));
docket.tags(new Tag("wmsLocatorTransfer", "库位转移"));
docket.tags(new Tag("wmsMiscInHips", "杂收"));


pc前端地址
数据库
eureka 地址
swagger 地址
登陆地址
路由

@Permission(level = ResourceLevel.ORGANIZATION, permissionLogin = true)
不用权限校验
@Permission(level = ResourceLevel.ORGANIZATION,permissionLogin = true,permissionPublic = true )

 

官网地址

https://open.hand-china.com/hzero-docs/v1.3/zh/docs/service/message/

 

hzero

标签:权限   public   pre   secret   采购   mtr   iss   ESS   pass   

原文地址:https://www.cnblogs.com/fuqiang-zhou/p/14364959.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!