| | |
| | | package com.fgkj.actions;
|
| | |
|
| | | import java.text.SimpleDateFormat;
|
| | | import java.util.Date;
|
| | | import java.util.List;
|
| | |
|
| | | import com.fgkj.dao.UinfDaoFactory;
|
| | |
| | | public String checkService(){
|
| | | return SUCCESS;
|
| | | }
|
| | | |
| | | //获取服务器的时间
|
| | | public String searchServerTime(){
|
| | | ServiceModel model = new ServiceModel();
|
| | | model.setCode(1);
|
| | | SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
| | | model.setMsg(sdf.format(new Date()));
|
| | | result = ActionUtil.getGson("yyyy-MM-dd HH:mm:ss").toJson(model);
|
| | | return SUCCESS;
|
| | | }
|
| | | |
| | | public String test(){
|
| | | System.out.println(upjson);
|
| | | System.out.println(uif);
|