xuhy
2026-01-12 bb8ca30e7832220d86fb3b8f2093008715db678c
ruoyi-applet/src/main/java/com/ruoyi/web/controller/api/H5AICallbackController.java
@@ -20,8 +20,10 @@
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
/**
 * <p>
@@ -168,6 +170,10 @@
        if(sysAppUser != null){
            sysInspection.setAppUserId(sysAppUser.getId());
            sysInspection.setClinicId(sysAppUser.getClinicId());
            LocalDateTime vipEndTime = sysAppUser.getVipEndTime();
            if(Objects.nonNull(vipEndTime) && vipEndTime.isAfter(LocalDateTime.now())){
                sysInspection.setIsPay(1);
            }
        }
        sysInspection.setOutUserId(outUserId);
        sysInspection.setBirthday(birthday);
@@ -175,7 +181,6 @@
        sysInspection.setNickName(nickname);
        // 小程序检测
        sysInspection.setInspectionType(2);
        sysInspection.setIsPay(0);
        // 舌诊信息
        JSONObject phyTongueInfo = jsonObject.getJSONObject("phyTongueInfo");