LAPTOP-KB9HII50\70708 2 лет назад
Родитель
Сommit
952c7f1ec0

+ 2 - 2
svr/svr-base/src/main/java/com/yihu/jw/base/endpoint/doctor/BaseDoctorRoleEndpoint.java

@ -47,7 +47,7 @@ public class BaseDoctorRoleEndpoint extends EnvelopRestEndpoint {
    @ApiOperation(value = "创建")
    public Envelop create (
        @ApiParam(name = "jsonData", value = "Json数据", required = true)
        @RequestBody String jsonData){
        @RequestParam String jsonData){
        try {
            JSONObject json = JSON.parseObject(jsonData);
            String roleCode = json.getString("roleCode");
@ -116,7 +116,7 @@ public class BaseDoctorRoleEndpoint extends EnvelopRestEndpoint {
    @ApiOperation(value = "更新")
    public Envelop update (
        @ApiParam(name = "jsonData", value = "Json数据", required = true)
        @RequestBody String jsonData) {
        @RequestParam String jsonData) {
        try {
            //先删除在新增
            JSONObject json = JSON.parseObject(jsonData);