区块链调用
This commit is contained in:
BIN
lib/access_token1.0.jar
Normal file
BIN
lib/access_token1.0.jar
Normal file
Binary file not shown.
9
pom.xml
9
pom.xml
@ -100,6 +100,15 @@
|
||||
<systemPath>${basedir}/lib/aspose-words-16.8.0-jdk16.jar</systemPath>
|
||||
</dependency>
|
||||
|
||||
<!--第三方jar包-->
|
||||
<dependency>
|
||||
<groupId>cryp.access</groupId>
|
||||
<artifactId>accessToken</artifactId>
|
||||
<version>1.0</version>
|
||||
<scope>system</scope>
|
||||
<systemPath>${basedir}/lib/access_token1.0.jar</systemPath>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.velocity</groupId>
|
||||
<artifactId>velocity-tools</artifactId>
|
||||
|
@ -3,6 +3,7 @@ package com.chinaunicom.mall.ebtp.extend.crypconfigure.controller;
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
||||
import com.chinaunicom.baas.util.AccessToken;
|
||||
import com.chinaunicom.mall.ebtp.common.base.entity.BaseResponse;
|
||||
import com.chinaunicom.mall.ebtp.extend.crypconfigure.entity.CrypBean;
|
||||
import com.chinaunicom.mall.ebtp.extend.crypconfigure.entity.CrypConfigure;
|
||||
@ -131,4 +132,10 @@ public class CrypConfigureController{
|
||||
|
||||
return BaseResponse.success(this.iCrypConfigureService.verifyObject(bean));
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
String token = AccessToken.tokenCreate();
|
||||
System.out.println(token);
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user