区块链调用

This commit is contained in:
zhangqinbin
2021-08-31 09:38:52 +08:00
parent 30f342463e
commit 6a074baeb1
3 changed files with 16 additions and 0 deletions

BIN
lib/access_token1.0.jar Normal file

Binary file not shown.

View File

@ -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>

View File

@ -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);
}
}