Browse Source

健康管理端

wangzhinan 1 year ago
parent
commit
311c61d0d9

+ 2 - 1
business/base-service/src/main/java/com/yihu/jw/contant/CommonContant.java

@ -48,5 +48,6 @@ public class CommonContant {
    /**
     * 文章审核员
     */
    public static final String DR_ARTICLEREVIEWER = "articleReviewer";
    public static final String DR_ARTICLEREVIEWER = "admin";
  /*  public static final String DR_ARTICLEREVIEWER = "articleReviewer";*/
}

+ 2 - 1
server/svr-authentication/src/main/java/com/yihu/jw/security/oauth2/provider/endpoint/WlyyLoginEndpoint.java

@ -623,8 +623,9 @@ public class WlyyLoginEndpoint extends AbstractEndpoint {
            token = parameters.get("token");
        }
        String userAgent = request.getHeader("userAgent");
        logger.info("userAgent=="+userAgent+"");
        if (!StringUtils.isEmpty(userAgent)) {
            userAgent = request.getHeader("User-Agent");
            userAgent = request.getHeader("userAgent");
            JSONObject json = JSON.parseObject(userAgent);
            String uuid = json.getString("uid");
            String loginType = parameters.get("login_type");

+ 2 - 2
svr/svr-cloud-care/pom.xml

@ -11,7 +11,7 @@
    </parent>
    <groupId>com.yihu.jw</groupId>
    <artifactId>svr-cloud-care-test</artifactId>
    <artifactId>svr-cloud-care</artifactId>
    <packaging>jar</packaging>
    <version>${parent.version}</version>
@ -294,7 +294,7 @@
    </dependencies>
    <build>
        <finalName>svr-cloud-care-test</finalName>
        <finalName>svr-cloud-care</finalName>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>

+ 2 - 2
svr/svr-internet-hospital/src/main/java/com/yihu/jw/hospital/endpoint/prescription/PrescriptionEndpoint.java

@ -1115,11 +1115,11 @@ public class PrescriptionEndpoint extends EnvelopRestEndpoint {
                                     @ApiParam(name = "withWork", value = "传1带排班,其他不带")
                                     @RequestParam(value = "withWork", required = false) String withWork,
                                     @ApiParam(name = "patient", value = "患者code")
                                     @RequestParam(value = "patient", required = false) String patient) {
                                     @RequestParam(value = "patient", required = false) String patient) throws Exception {
        try {
            return success(prescriptionService.findDoctorInfo(doctor,idcard, withWork, patient));
        } catch (Exception e) {
            return failedObjEnvelopException(e);
            throw new Exception(e.getMessage());
        }
    }