区块链调用

This commit is contained in:
zhangqinbin
2021-09-02 10:23:12 +08:00
parent a6b7c7f440
commit c4716f9773

View File

@ -174,17 +174,20 @@ public class CrypConfigureServiceImpl extends BaseServiceImpl<CrypConfigureMappe
reqhead.setSystemId("990001");
reqhead.setSystemName("bidding");
reqhead.setUserId(service.getCacheUser().getUserId());
reqhead.setUserName(service.getCacheUser().getFullName());
reqhead.setUserId(service.getCacheUser().getUserId()!=null?service.getCacheUser().getUserId():"system");
reqhead.setUserName(service.getCacheUser().getFullName()!=null?service.getCacheUser().getFullName():"电子招投标");
reqhead.setAccessToken(AccessToken.tokenCreate());
log.debug("业务参数封装前:"+map);
UniCrpyReq req = new UniCrpyReq();
req.setBody(map);
req.setHead(reqhead);
log.debug("业务参数封装中:"+req);;
Map reqMap = new HashMap();
reqMap.put(reqName,req);
uniBss.setUniBssBodyMap(reqMap);
log.debug("业务参数封装后:"+reqMap);;
return JSON.toJSONString(uniBss);
}