wuxw
2022-07-17 ce64e667815b39efdc2f8bd52be0d43d49db8d84
service-api/src/main/java/com/java110/api/smo/impl/RegisterServiceSMOImpl.java
@@ -14,7 +14,7 @@
import com.java110.utils.util.Assert;
import com.java110.utils.util.StringUtil;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.java110.core.log.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpMethod;
import org.springframework.http.HttpStatus;
@@ -73,7 +73,7 @@
        registerInfo.put("name", registerInfo.getString("username"));
        registerInfo.put("password", registerInfo.getString("passwd"));
        responseEntity = this.callCenterService(restTemplate, pd, registerInfo.toJSONString(), ServiceConstant.SERVICE_API_URL + "/api/user.service.register", HttpMethod.POST);
        responseEntity = this.callCenterService(restTemplate, pd, registerInfo.toJSONString(), "user.service.register", HttpMethod.POST);
        return responseEntity;
    }
@@ -81,7 +81,7 @@
        ResponseEntity<String> responseEntity = null;
        //校验用户名或手机是否存在
        responseEntity = this.callCenterService(restTemplate, pd, "",
                ServiceConstant.SERVICE_API_URL + "/api/check.hasUser.byNameOrTel?name=" + name + "&tel=" + tel,
                "check.hasUser.byNameOrTel?name=" + name + "&tel=" + tel,
                HttpMethod.GET);
        if (responseEntity.getStatusCode() != HttpStatus.OK) {
@@ -190,7 +190,7 @@
        ResponseEntity responseEntity = null;
        JSONObject paramObj = JSONObject.parseObject(pd.getReqData());
        responseEntity = this.callCenterService(restTemplate, pd, "",
                ServiceConstant.SERVICE_API_URL + "/api/area.listAreas?" + super.mapToUrlParam(paramObj),
                "area.listAreas?" + super.mapToUrlParam(paramObj),
                HttpMethod.GET);
        return responseEntity;