Skip to content

Commit

Permalink
* get issuer count
Browse files Browse the repository at this point in the history
  • Loading branch information
yanggang-JV committed Apr 12, 2021
1 parent b558c01 commit f168f4b
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.8.0
1.8.1
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ dependencies {
localDeps 'org.projectlombok:lombok:1.18.10'
if (!gradle.startParameter.isOffline()) {
compile logger, lombok, apache_commons, json, mysql_driver, redisson, zxing, rpc, pdfbox, protobuf, caffeine, oval
compile("com.webank:weid-contract-java:1.2.30-rc.5-SNAPSHOT") {
compile("com.webank:weid-contract-java:1.2.30-rc.8-SNAPSHOT") {
exclude group: "org.slf4j", module: "slf4j-log4j12"
}
compile fileTree(dir: 'lib', include: '*.jar')
Expand Down
16 changes: 16 additions & 0 deletions src/main/java/com/webank/weid/constant/ErrorCode.java
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,22 @@ public enum ErrorCode {
"the specific issuer type or address does not exist."
),

/**
* The capacity has reached the upper limit.
*/
SPECIFIC_ISSUER_CONTRACT_ERROR_EXCEED_MAX(
500503,
"the capacity has reached the upper limit."
),

/**
* Has issuer in the specific issuer type.
*/
SPECIFIC_ISSUER_CONTRACT_ERROR_EXIST_ISSUER(
500504,
"has issuer in the specific issuer type."
),

/**
* The weid invalid.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ public ResponseData<List<IssuerType>> getIssuerTypeList(Integer index, Integer n
for (int i = 0; i < typeNames.size(); i++) {
IssuerType issuerType = new IssuerType();
issuerType.setTypeName(new String(typeNames.get(i)).trim());
issuerType.setOwner(owners.get(i));
issuerType.setOwner(WeIdUtils.convertAddressToWeId(owners.get(i)));
issuerType.setCreated(createds.get(i).longValue());
list.add(issuerType);
}
Expand Down

0 comments on commit f168f4b

Please sign in to comment.