zjh
21 小时以前 9cf381f93354a5f0fcaf14bd3ab118886d589f80
ltkj-admin/src/main/java/com/ltkj/web/controller/api/DefaultController.java
@@ -9,10 +9,8 @@
import com.itextpdf.text.Paragraph;
import com.ltkj.common.core.domain.AjaxResult;
import com.ltkj.framework.config.MatchUtils;
import com.ltkj.hosp.domain.DictHosp;
import com.ltkj.hosp.domain.TjCustomer;
import com.ltkj.hosp.domain.TjOrder;
import com.ltkj.hosp.domain.TjOrderYcxm;
import com.ltkj.framework.config.UserHoder;
import com.ltkj.hosp.domain.*;
import com.ltkj.hosp.mapper.TjCustomerMapper;
import com.ltkj.hosp.service.*;
import com.ltkj.hosp.vodomain.ShenGaoTiZhongVo;
@@ -481,6 +479,24 @@
    }
//    @PostMapping("/wx/bindPhoneV2")
//    public AjaxResult bindPhoneV2(@RequestBody String json) {
//        cn.hutool.json.JSONObject entries = JSONUtil.parseObj(json);
//        String phone = entries.getStr("phone");
//        Wxuser wxuser = UserHoder.getWxuser();
//        LambdaQueryWrapper<Wxuser> wq = new LambdaQueryWrapper<>();
//        wq.eq(Wxuser::getOpenid, wxuser.getOpenid());
//        Wxuser one = wxuserService.getOne(wq);
//        System.out.println("绑定 ->"+wxuser.getOpenid()+",json = "+json);
//        if (one != null){
//            one.setPhone(phone);
//            wxuserService.updateById(one);
//            return AjaxResult.success();
//        }
//        return AjaxResult.error();
//    }
    public static void removeNullFields(JSONObject jsonObject) {
        ArrayList<String> strings = new ArrayList<>();
        strings.add("orderId");