| | |
| | | package com.ltkj.web.controller.his; |
| | | |
| | | |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.ltkj.common.core.controller.BaseController; |
| | | import com.ltkj.common.core.domain.AjaxResult; |
| | | import com.ltkj.common.core.page.TableDataInfo; |
| | | import com.ltkj.common.utils.http.HttpUtils; |
| | | import com.ltkj.hosp.domain.DictSsdm; |
| | | import com.ltkj.hosp.domain.TjCustomer; |
| | | import com.ltkj.hosp.hisDto.*; |
| | | import com.ltkj.hosp.service.ITjCustomerService; |
| | | import com.ltkj.web.wxUtils.HttpClientUtils; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import io.swagger.annotations.ApiParam; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.Date; |
| | | import java.util.HashMap; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | |
| | | @Api(tags = "AAAAA-----HISAPI相关接口文档") |
| | | @RestController |
| | | @RequestMapping("/api/His") |
| | | public class HisApiController extends BaseController { |
| | | |
| | | |
| | | @PostMapping(value = "/callback") |
| | | public void callback(@RequestBody JSONObject json) { |
| | | System.out.println("===================记录打印次数===================="); |
| | | System.out.println(json.toJSONString()); |
| | | String tjNumber = json.get("tjNumber").toString(); |
| | | String reportName = json.get("reportName").toString(); |
| | | System.out.println("用户: "+tjNumber+reportName+" 已打印"); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | // @Autowired |
| | | // private ITjCustomerService tjCustomerService; |
| | | // |