Jelajahi Sumber

修改jw的访问地址

liuwenbin 8 tahun lalu
induk
melakukan
c3dff45bbf

+ 2 - 2
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/service/app/account/DoctorInfoService.java

@ -122,8 +122,8 @@ public class DoctorInfoService extends BaseService {
    private PrescriptionDao prescriptionDao;
    //基卫服务地址
//    @Value("${sign.check_upload}")
    private String jwUrl="http://192.168.131.131:8089";
    @Value("${sign.check_upload}")
    private String jwUrl;//="http://192.168.131.131:8089";
    @Autowired
    private HttpClientUtil HttpClientUtil;

+ 1 - 1
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/web/common/account/LoginController.java

@ -99,7 +99,7 @@ public class LoginController extends BaseController {
     *  @param mobile  手机号
     * @param captcha 短信验证码
     * @param idcard  身份证号
     * @param platform  // 1患者端,2医生端app,3微信公众号wechat,4医生端pc
     * @param platform  // 1患者端,2医生端app,3微信公众号wechat,4IM医生端pc,5PC端取药系统
     * @param password 密码
     * @return
     */

+ 2 - 1
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/web/patient/prescription/PatientPrescriptionInfoController.java

@ -8,6 +8,7 @@ import com.yihu.wlyy.web.BaseController;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.json.JSONObject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.MediaType;
import org.springframework.stereotype.Controller;
@ -126,7 +127,7 @@ public class PatientPrescriptionInfoController extends BaseController {
    @ApiOperation("判断医生的CA是否有在线上安装证书")
    @ResponseBody
    @RequestMapping(value = "/doctor/isAuthentication", method = RequestMethod.POST)
    public String isAuthentication(@RequestParam(required = true,value="doctorCode")@ApiParam(name="doctorCode",value="医生的code")String doctorCode){
    public String isAuthentication(@RequestParam(required = true,value="doctorCode")@ApiParam(required = true,name="doctorCode",value="医生的code")String doctorCode){
        try {
            //0de6a26a62dd11e69faffa163e8aee56
            JSONObject data = doctorInfoService.isAuthentication(getRepUID());