|
@@ -117,7 +117,7 @@ public class UserServiceImpl implements UserService {
|
|
|
|
|
|
boolean flag = blockChainUtil.sendBlockChain(user.getSign());//发送签名直接转发到区块链
|
|
|
if(!flag) {
|
|
|
- throw new RuntimeException("区块链操作失败") ;
|
|
|
+ throw new RuntimeException("区块链操作失败5");
|
|
|
}
|
|
|
|
|
|
}
|
|
@@ -139,7 +139,7 @@ public class UserServiceImpl implements UserService {
|
|
|
Map<String,Object> map = JSON.parseObject(sign, Map.class);
|
|
|
String hash = (String) map.get("sid");
|
|
|
user.setUserId(user.getUserId());//操作人(管理员)
|
|
|
- user.setOperationTypeId(OperationType.DELETE);//操作类型 (编辑)
|
|
|
+ user.setOperationTypeId(OperationType.DELETE);//操作类型 (删除)
|
|
|
user.setUserIdbs(strs);
|
|
|
user.setOperationTime(currentTime);//操作时间
|
|
|
user.setHash(hash);//操作hash
|