区块链调用

This commit is contained in:
zhangqinbin
2021-09-02 11:10:53 +08:00
parent c4716f9773
commit 29823625ce
4 changed files with 3 additions and 3 deletions

View File

@ -106,7 +106,7 @@
<artifactId>accessToken</artifactId>
<version>1.0</version>
<scope>system</scope>
<systemPath>${basedir}/lib/access_token1.0.jar</systemPath>
<systemPath>${basedir}/lib/access_token1.1.jar</systemPath>
</dependency>
<dependency>

View File

@ -156,6 +156,6 @@ public class CrypConfigureController{
@GetMapping("/getAccessToken")
public BaseResponse<String> getAccessToken() {
return BaseResponse.success( AccessToken.tokenCreate());
return BaseResponse.success( AccessToken.tokenCreate("bidding"));
}
}

View File

@ -176,7 +176,7 @@ public class CrypConfigureServiceImpl extends BaseServiceImpl<CrypConfigureMappe
reqhead.setSystemName("bidding");
reqhead.setUserId(service.getCacheUser().getUserId()!=null?service.getCacheUser().getUserId():"system");
reqhead.setUserName(service.getCacheUser().getFullName()!=null?service.getCacheUser().getFullName():"电子招投标");
reqhead.setAccessToken(AccessToken.tokenCreate());
reqhead.setAccessToken(AccessToken.tokenCreate("bidding"));
log.debug("业务参数封装前:"+map);
UniCrpyReq req = new UniCrpyReq();