Browse Source

更新接口文档

dev
long 3 years ago
parent
commit
39d3e4958a
  1. 2
      conflux-admin/src/main/java/com/conflux/web/controller/nft/service/impl/ConfluxServiceImpl.java
  2. 2
      conflux-admin/src/main/java/com/conflux/web/controller/util/AESUtil.java
  3. BIN
      doc/Nft上链接口文档.docx

2
conflux-admin/src/main/java/com/conflux/web/controller/nft/service/impl/ConfluxServiceImpl.java

@ -281,7 +281,7 @@ public class ConfluxServiceImpl implements ConfluxService {
return ajaxResult;
}
try {
Map<String, Object> upload = tencentUploadService.upload(file, 4);
Map<String, Object> upload = tencentUploadService.upload(file, 4);//类型4为nft图片上传
return AjaxResult.success(upload);
} catch (Exception e) {
e.printStackTrace();

2
conflux-admin/src/main/java/com/conflux/web/controller/util/AESUtil.java

@ -219,7 +219,7 @@ public final class AESUtil {
try {
//System.err.println(Integer.valueOf("00000000000000000000000000000017"));
//AES
String encrypt = Encrypt("55417f351e4943888a92997763cd62cf","CONFLUX@12345678");
String encrypt = Encrypt("227bd91c590a4616a396c296a91502f1","CONFLUX@12345678");
System.err.println(encrypt);
//md5
// String hash = Md5Utils.md5Salt("0efc989dea214ed8bff99b0d14714481d660a7e7137c3ef0fc093efad244ee171f4308d9ccda9359add79e029bd169c9");

BIN
doc/Nft上链接口文档.docx

Binary file not shown.
Loading…
Cancel
Save