|
|
@@ -21,7 +21,9 @@ import com.sckw.system.dubbo.RemoteSystemServiceImpl;
|
|
|
import com.sckw.system.model.*;
|
|
|
import com.sckw.system.model.vo.req.*;
|
|
|
import com.sckw.system.model.vo.res.KwsUserResVo;
|
|
|
+import com.sckw.transport.api.dubbo.TransportStatisticsService;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
+import org.apache.dubbo.config.annotation.DubboReference;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
@@ -70,6 +72,9 @@ public class KwsUserService {
|
|
|
@Autowired
|
|
|
private CommonService commonService;
|
|
|
|
|
|
+ @DubboReference(version = "1.0.0", group = "design", check = false)
|
|
|
+ private TransportStatisticsService transportStatisticsService;
|
|
|
+
|
|
|
/**
|
|
|
* @param reqVo 入参
|
|
|
* @desc: 新增
|
|
|
@@ -115,12 +120,6 @@ public class KwsUserService {
|
|
|
*/
|
|
|
@Transactional(rollbackFor = {})
|
|
|
public RegisterResDto register(RegisterReqDto reqDto) {
|
|
|
-// String key = StringUtils.format(RedisConstant.MESSAGE_SMS_VERIFY_CODE_VALUE_KEY, DictEnum.SMS_REGISTER.getValue(), reqDto.getPhone());
|
|
|
-// String sms = RedissonUtils.getString(key);
|
|
|
-// if (!reqDto.getCaptcha().equals(sms)) {
|
|
|
-// throw new SystemException(HttpStatus.CODE_10301, HttpStatus.CAPTCHA_ERROR);
|
|
|
-// }
|
|
|
-
|
|
|
commonService.checkEntRepeat(reqDto.getEntName(), reqDto.getPhone());
|
|
|
/*1、数据校验*/
|
|
|
checkAccountValid(reqDto.getPhone(), reqDto.getSystemType());
|
|
|
@@ -608,11 +607,10 @@ public class KwsUserService {
|
|
|
}
|
|
|
|
|
|
public List<AreaTreeFrontResDto> test(List<Integer> list) {
|
|
|
-
|
|
|
+ Integer integer = transportStatisticsService.statisticsLogistics(123L);
|
|
|
|
|
|
List<Long> longs = LoginUserHolder.getAuthUserIdList();
|
|
|
|
|
|
-// PageResult pageResult = remoteUserService.queryEntInfoByCityCodeAndEntTypesWithPage(null, Collections.singletonList(1), 1, 10);
|
|
|
return null;
|
|
|
}
|
|
|
|