|  | @ -12,8 +12,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
 | 
												
													
														
															|  | import org.springframework.web.bind.annotation.RequestMethod;
 |  | import org.springframework.web.bind.annotation.RequestMethod;
 | 
												
													
														
															|  | import org.springframework.web.bind.annotation.ResponseBody;
 |  | import org.springframework.web.bind.annotation.ResponseBody;
 | 
												
													
														
															|  | 
 |  | 
 | 
												
													
														
															|  | import java.util.Map;
 |  | 
 | 
												
													
														
															|  | 
 |  | 
 | 
												
													
														
															|  | 
 |  | 
 | 
												
													
														
															|  | /**
 |  | /**
 | 
												
													
														
															|  |  * Created by Administrator on 2017/8/14.
 |  |  * Created by Administrator on 2017/8/14.
 | 
												
											
												
													
														
															|  | @ -33,7 +31,7 @@ public class YueRenController extends BaseController {
 | 
												
													
														
															|  |      * 获取每个接口需要传递的key值
 |  |      * 获取每个接口需要传递的key值
 | 
												
													
														
															|  |      * @return
 |  |      * @return
 | 
												
													
														
															|  |      */
 |  |      */
 | 
												
													
														
															|  |     @RequestMapping(value = "/phonekey", method = RequestMethod.POST)
 |  | 
 | 
												
													
														
															|  | 
 |  |     @RequestMapping(value = "/phonekey", method = RequestMethod.POST, produces = "application/json;charset=UTF-8")
 | 
												
													
														
															|  |     @ResponseBody
 |  |     @ResponseBody
 | 
												
													
														
															|  |     public String getPhoneKey() {
 |  |     public String getPhoneKey() {
 | 
												
													
														
															|  |         String postStr = remoteCall("/yueren/phonekey", new JSONObject());
 |  |         String postStr = remoteCall("/yueren/phonekey", new JSONObject());
 | 
												
											
												
													
														
															|  | @ -66,7 +64,7 @@ public class YueRenController extends BaseController {
 | 
												
													
														
															|  |      * @param sl_pass 报告单是否审核通过
 |  |      * @param sl_pass 报告单是否审核通过
 | 
												
													
														
															|  |      * @return
 |  |      * @return
 | 
												
													
														
															|  |      */
 |  |      */
 | 
												
													
														
															|  |     @RequestMapping(value = "insertslip", method = RequestMethod.POST)
 |  | 
 | 
												
													
														
															|  | 
 |  |     @RequestMapping(value = "insertslip", method = RequestMethod.POST, produces = "application/json;charset=UTF-8")
 | 
												
													
														
															|  |     @ResponseBody
 |  |     @ResponseBody
 | 
												
													
														
															|  |     public String insertSlip(String key, String sl_date,String sl_state,String u_tel, String u_name, String u_sex,
 |  |     public String insertSlip(String key, String sl_date,String sl_state,String u_tel, String u_name, String u_sex,
 | 
												
													
														
															|  |                              String sh_id, String u_idnum, String u_native, String u_birthday, String u_province,
 |  |                              String sh_id, String u_idnum, String u_native, String u_birthday, String u_province,
 | 
												
											
												
													
														
															|  | @ -98,7 +96,7 @@ public class YueRenController extends BaseController {
 | 
												
													
														
															|  |      * @param file 附件
 |  |      * @param file 附件
 | 
												
													
														
															|  |      * @return
 |  |      * @return
 | 
												
													
														
															|  |      */
 |  |      */
 | 
												
													
														
															|  |     @RequestMapping(value = "/uploadattachment", method = RequestMethod.POST)
 |  | 
 | 
												
													
														
															|  | 
 |  |     @RequestMapping(value = "/uploadattachment", method = RequestMethod.POST, produces = "application/json;charset=UTF-8")
 | 
												
													
														
															|  |     @ResponseBody
 |  |     @ResponseBody
 | 
												
													
														
															|  |     public String uploadAttachment(String file, String e_no) {
 |  |     public String uploadAttachment(String file, String e_no) {
 | 
												
													
														
															|  |         JSONObject params = new JSONObject();
 |  |         JSONObject params = new JSONObject();
 | 
												
											
												
													
														
															|  | @ -117,7 +115,7 @@ public class YueRenController extends BaseController {
 | 
												
													
														
															|  |      * @param object_type 对象类型,备选数值(1,2,3)1脸型,2舌像,3录音
 |  |      * @param object_type 对象类型,备选数值(1,2,3)1脸型,2舌像,3录音
 | 
												
													
														
															|  |      * @return
 |  |      * @return
 | 
												
													
														
															|  |      */
 |  |      */
 | 
												
													
														
															|  |     @RequestMapping(value = "dillphoneimgdata", method = RequestMethod.POST)
 |  | 
 | 
												
													
														
															|  | 
 |  |     @RequestMapping(value = "dillphoneimgdata", method = RequestMethod.POST, produces = "application/json;charset=UTF-8")
 | 
												
													
														
															|  |     @ResponseBody
 |  |     @ResponseBody
 | 
												
													
														
															|  |     public String inserTemp(String key, String at_id, String answer, String answer_type, String ct_id, String object_type) {
 |  |     public String inserTemp(String key, String at_id, String answer, String answer_type, String ct_id, String object_type) {
 | 
												
													
														
															|  |         JSONObject params = new JSONObject();
 |  |         JSONObject params = new JSONObject();
 | 
												
											
												
													
														
															|  | @ -140,9 +138,11 @@ public class YueRenController extends BaseController {
 | 
												
													
														
															|  |      * @param sh_id 所属门店编号
 |  |      * @param sh_id 所属门店编号
 | 
												
													
														
															|  |      * @return
 |  |      * @return
 | 
												
													
														
															|  |      */
 |  |      */
 | 
												
													
														
															|  |     @RequestMapping(value = "findtest", method = RequestMethod.POST)
 |  | 
 | 
												
													
														
															|  | 
 |  |     @RequestMapping(value = "findtest", method = RequestMethod.POST, produces = "application/json;charset=UTF-8")
 | 
												
													
														
															|  |     @ResponseBody
 |  |     @ResponseBody
 | 
												
													
														
															|  |     public String findTest(String key, String tp_type, String sh_id) {
 |  |     public String findTest(String key, String tp_type, String sh_id) {
 | 
												
													
														
															|  | 
 |  |         String key1 = request.getParameter("key");
 | 
												
													
														
															|  | 
 |  |         System.out.println(key1);
 | 
												
													
														
															|  |         JSONObject params = new JSONObject();
 |  |         JSONObject params = new JSONObject();
 | 
												
													
														
															|  |         params.put("key", key);
 |  |         params.put("key", key);
 | 
												
													
														
															|  |         params.put("tp_type", tp_type);
 |  |         params.put("tp_type", tp_type);
 | 
												
											
												
													
														
															|  | @ -159,7 +159,7 @@ public class YueRenController extends BaseController {
 | 
												
													
														
															|  |      * @param pb_id 问题编号
 |  |      * @param pb_id 问题编号
 | 
												
													
														
															|  |      * @return
 |  |      * @return
 | 
												
													
														
															|  |      */
 |  |      */
 | 
												
													
														
															|  |     @RequestMapping(value = "giveproblem", method = RequestMethod.POST)
 |  | 
 | 
												
													
														
															|  | 
 |  |     @RequestMapping(value = "giveproblem", method = RequestMethod.POST, produces = "application/json;charset=UTF-8")
 | 
												
													
														
															|  |     @ResponseBody
 |  |     @ResponseBody
 | 
												
													
														
															|  |     public String giveproblem(String key,String ct_id, String tp_id, String pb_id) {
 |  |     public String giveproblem(String key,String ct_id, String tp_id, String pb_id) {
 | 
												
													
														
															|  |         JSONObject params = new JSONObject();
 |  |         JSONObject params = new JSONObject();
 | 
												
											
												
													
														
															|  | @ -180,7 +180,7 @@ public class YueRenController extends BaseController {
 | 
												
													
														
															|  |      * @param dc_answer 答案数组
 |  |      * @param dc_answer 答案数组
 | 
												
													
														
															|  |      * @return 将用户提交的试卷题目的答案进行保存
 |  |      * @return 将用户提交的试卷题目的答案进行保存
 | 
												
													
														
															|  |      */
 |  |      */
 | 
												
													
														
															|  |     @RequestMapping(value = "handleproblem", method = RequestMethod.POST)
 |  | 
 | 
												
													
														
															|  | 
 |  |     @RequestMapping(value = "handleproblem", method = RequestMethod.POST, produces = "application/json;charset=UTF-8")
 | 
												
													
														
															|  |     @ResponseBody
 |  |     @ResponseBody
 | 
												
													
														
															|  |     public String handleproblem(String key, String ct_id, String tp_id,String pb_id, String[] dc_answer) {
 |  |     public String handleproblem(String key, String ct_id, String tp_id,String pb_id, String[] dc_answer) {
 | 
												
													
														
															|  |         JSONObject params = new JSONObject();
 |  |         JSONObject params = new JSONObject();
 | 
												
											
												
													
														
															|  | @ -199,7 +199,7 @@ public class YueRenController extends BaseController {
 | 
												
													
														
															|  |      * @param ct_id 咨询编号
 |  |      * @param ct_id 咨询编号
 | 
												
													
														
															|  |      * @return
 |  |      * @return
 | 
												
													
														
															|  |      */
 |  |      */
 | 
												
													
														
															|  |     @RequestMapping(value = "centralizedproblem", method = RequestMethod.POST)
 |  | 
 | 
												
													
														
															|  | 
 |  |     @RequestMapping(value = "centralizedproblem", method = RequestMethod.POST, produces = "application/json;charset=UTF-8")
 | 
												
													
														
															|  |     @ResponseBody
 |  |     @ResponseBody
 | 
												
													
														
															|  |     public String centralizedproblem(String key, String ct_id) {
 |  |     public String centralizedproblem(String key, String ct_id) {
 | 
												
													
														
															|  |         JSONObject params = new JSONObject();
 |  |         JSONObject params = new JSONObject();
 | 
												
											
												
													
														
															|  | @ -215,7 +215,7 @@ public class YueRenController extends BaseController {
 | 
												
													
														
															|  |      * @param ct_id 咨询编号
 |  |      * @param ct_id 咨询编号
 | 
												
													
														
															|  |      * @return
 |  |      * @return
 | 
												
													
														
															|  |      */
 |  |      */
 | 
												
													
														
															|  |     @RequestMapping(value = "conclusionfactor", method = RequestMethod.POST)
 |  | 
 | 
												
													
														
															|  | 
 |  |     @RequestMapping(value = "conclusionfactor", method = RequestMethod.POST, produces = "application/json;charset=UTF-8")
 | 
												
													
														
															|  |     @ResponseBody
 |  |     @ResponseBody
 | 
												
													
														
															|  |     public String conclusionFactor(String key, String ct_id) {
 |  |     public String conclusionFactor(String key, String ct_id) {
 | 
												
													
														
															|  |         JSONObject params = new JSONObject();
 |  |         JSONObject params = new JSONObject();
 | 
												
											
												
													
														
															|  | @ -233,7 +233,7 @@ public class YueRenController extends BaseController {
 | 
												
													
														
															|  |      * @param ct_id 咨询编号
 |  |      * @param ct_id 咨询编号
 | 
												
													
														
															|  |      * @return
 |  |      * @return
 | 
												
													
														
															|  |      */
 |  |      */
 | 
												
													
														
															|  |     @RequestMapping(value = "insertconconhealth", method = RequestMethod.POST)
 |  | 
 | 
												
													
														
															|  | 
 |  |     @RequestMapping(value = "insertconconhealth", method = RequestMethod.POST, produces = "application/json;charset=UTF-8")
 | 
												
													
														
															|  |     @ResponseBody
 |  |     @ResponseBody
 | 
												
													
														
															|  |     public String insertConsultConclusionHealth(String key, String ct_id) {
 |  |     public String insertConsultConclusionHealth(String key, String ct_id) {
 | 
												
													
														
															|  |         JSONObject params = new JSONObject();
 |  |         JSONObject params = new JSONObject();
 | 
												
											
												
													
														
															|  | @ -250,7 +250,7 @@ public class YueRenController extends BaseController {
 | 
												
													
														
															|  |      * @param reqtype 请求类型(备选数值1)
 |  |      * @param reqtype 请求类型(备选数值1)
 | 
												
													
														
															|  |      * @return
 |  |      * @return
 | 
												
													
														
															|  |      */
 |  |      */
 | 
												
													
														
															|  |     @RequestMapping(value = "findconconhealth", method = RequestMethod.POST)
 |  | 
 | 
												
													
														
															|  | 
 |  |     @RequestMapping(value = "findconconhealth", method = RequestMethod.POST, produces = "application/json;charset=UTF-8")
 | 
												
													
														
															|  |     @ResponseBody
 |  |     @ResponseBody
 | 
												
													
														
															|  |     public String insertConsultConclusion(String key, String ct_id, String reqtype) {
 |  |     public String insertConsultConclusion(String key, String ct_id, String reqtype) {
 | 
												
													
														
															|  |         JSONObject params = new JSONObject();
 |  |         JSONObject params = new JSONObject();
 | 
												
											
												
													
														
															|  | @ -267,7 +267,7 @@ public class YueRenController extends BaseController {
 | 
												
													
														
															|  |      * @param ct_id 咨询编号
 |  |      * @param ct_id 咨询编号
 | 
												
													
														
															|  |      * @return
 |  |      * @return
 | 
												
													
														
															|  |      */
 |  |      */
 | 
												
													
														
															|  |     @RequestMapping(value = "findintegral", method = RequestMethod.POST)
 |  | 
 | 
												
													
														
															|  | 
 |  |     @RequestMapping(value = "findintegral", method = RequestMethod.POST, produces = "application/json;charset=UTF-8")
 | 
												
													
														
															|  |     @ResponseBody
 |  |     @ResponseBody
 | 
												
													
														
															|  |     public String findIntegral(String key, String ct_id) {
 |  |     public String findIntegral(String key, String ct_id) {
 | 
												
													
														
															|  |         JSONObject params = new JSONObject();
 |  |         JSONObject params = new JSONObject();
 |