springboot 自带tomcat 可能不支持web socket
儿子要一周岁了
打算给他买个5克金豆豆
然后每月
给他存1克
哈哈哈哈哈
主要是没钱啊
我一个人赚钱养
老婆带儿子
没上班
不过既然儿子长大了
给不了他最好的
只能给他差不多的生活
尽量满足
小区门口 无红绿灯
说有台风过来
早上去买菜
推着婴儿车从斑马线过马路
旁边有一辆公交礼让
然后我们就开始过马路
有一辆车跑的飞快
到我面前才急刹
吓人一跳 差点就撞上我们了
反手给交警举报
刚交警回馈电话打过来了
说那人不接电话
但是他们会依法处置
不知道是不是真的
这个世界很乱 希望大家平平安安!
- Building for production...[BABEL] Note: The code generator has deoptimised the styling of D:\javaProject\platform\backend-ui-lanyuancc\backend-ui-lanyuancc\src\components\AddressCascader\address.js as it exceeds the max of 500KB.
ERROR Error: error:0308010C:digital envelope routines::unsupported
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:69:19)
at Object.createHash (node:crypto:133:10)
at D:\javaProject\platform\backend-ui-lanyuancc\backend-ui-lanyuancc\node_modules\compression-webpack-plugin\dist\index.js:243:42
at CompressionPlugin.compress (D:\javaProject\platform\backend-ui-lanyuancc\backend-ui-lanyuancc\node_modules\compression-webpack-plugin\dist\index.js:284:9)
at D:\javaProject\platform\backend-ui-lanyuancc\backend-ui-lanyuancc\node_modules\compression-webpack-plugin\dist\index.js:305:12
at _next3 (eval at create (D:\javaProject\platform\backend-ui-lanyuancc\backend-ui-lanyuancc\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:9:17)
at eval (eval at create (D:\javaProject\platform\backend-ui-lanyuancc\backend-ui-lanyuancc\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:35:1)
at D:\javaProject\platform\backend-ui-lanyuancc\backend-ui-lanyuancc\node_modules\copy-webpack-plugin\dist\index.js:91:9
可以使用:
set NODE_OPTIONS=--openssl-legacy-provider
npm run build:prod
会多很多字符
,所以可以才有报错向上抛出的原则来实现
/**
* 注册用户信息
*
* @param member 用户信息
* @return 结果
*/
Boolean registerUserInfo(Member member) throws ServiceException;
@Override
public Boolean registerUserInfo(Member member) throws ServiceException{
//判断账号是否已注册
boolean exist = TenantHelper.dynamic(member.getTenantId(), () -> {
return memberMapper.exists(new LambdaQueryWrapper<Member>()
.eq(Member::getUsername, member.getUsername()));
});
if (exist) {
throw new ServiceException("账号已存在,请勿重复注册!");
}
// //判断账号是否已注册
// boolean register = TenantHelper.dynamic(member.getTenantId(), () -> {
// return remoteMemberService.registerByMobile(registerBody.getUsername());
// });
// if (register) {
// throw new ServiceException("账号已存在,请勿重复注册!");
// }
RedisUtils.deleteObject(RedisKeyEnum.SMS.getKey() + member.getUsername() + member.getType());
String username = member.getUsername();
// if (!("true".equals(configService.selectConfigByKey("sys.account.registerUser")))) {
// throw new ServiceException("当前系统没有开启注册功能");
// }
member.setName("U:" + RandomUtil.randomNumbers(6));
member.setAccountStatus(0);
member.setAuthStatus(3);
member.setAuthType(0);//默认个人认证 认证类型0 未认证 1个人认证 2企业认证
//member.setShopStatus(0);
member.setAccountStatus(0);
member.setStatus(0);
member.setIsDeleted(0);
member.setShippersStatus(0);
member.setCreateBy(member.getUsername());
member.setUpdateBy(member.getUsername());
member.setCreateTime(TimeUtils.getNowDate());
boolean save = userService.save(member);
if (save) {
Company company = new Company();
company.setTenantId(member.getTenantId());
company.setMemberId(member.getId());
company.setCompanyName("个人");
company.setRoleId(1);
company.setCompanyMobile(username);
company.setCheckStatus(3);//审核状态 0 待审核 1审核通过 2审核不通过 3待提交
company.setIsDefault(1);
companyService.save(company);
}
return save;
}