mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-09 04:20:08 +08:00
提供给lianlian获取token
This commit is contained in:
@@ -1230,7 +1230,7 @@ public class LianLianServiceImpl implements LianLianService {
|
|||||||
@Override
|
@Override
|
||||||
public Map<String, String> generateToken(QueryTokenDTO dto) throws UnsupportedEncodingException {
|
public Map<String, String> generateToken(QueryTokenDTO dto) throws UnsupportedEncodingException {
|
||||||
String operatorID = dto.getOperatorID();
|
String operatorID = dto.getOperatorID();
|
||||||
// 通过operatorID 查出 operatorSecret
|
// 通过operatorID 查出 operatorSecret TODO 建表 设置密钥
|
||||||
String operatorSecret = "123123123123aaaa";
|
String operatorSecret = "123123123123aaaa";
|
||||||
|
|
||||||
Map<String, String> map = Maps.newLinkedHashMap();
|
Map<String, String> map = Maps.newLinkedHashMap();
|
||||||
@@ -1269,9 +1269,9 @@ public class LianLianServiceImpl implements LianLianService {
|
|||||||
vo.setSuccStat("0");
|
vo.setSuccStat("0");
|
||||||
|
|
||||||
Map<String, String> resultMap = Maps.newLinkedHashMap();
|
Map<String, String> resultMap = Maps.newLinkedHashMap();
|
||||||
// 加密数据
|
// 加密数据 TODO vo对象加密
|
||||||
resultMap.put("data", "");
|
resultMap.put("data", "");
|
||||||
// 生成sig
|
// 生成sig TODO 生成sig
|
||||||
resultMap.put("sig", "");
|
resultMap.put("sig", "");
|
||||||
return resultMap;
|
return resultMap;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user