| | |
| | |
|
| | | import java.util.List;
|
| | |
|
| | | import javax.servlet.http.HttpServletResponse;
|
| | |
|
| | | import com.fgkj.dao.impl.BattInfImpl;
|
| | | import com.fgkj.dto.BattInf;
|
| | | import com.fgkj.dto.Batt_Maint_Dealarm;
|
| | |
| | | result = ActionUtil.tojson(model);
|
| | | return SUCCESS;
|
| | | }
|
| | |
|
| | | |
| | | //跨域访问获取所有电池组的信息<-------跨域----------->
|
| | | public String searchInform_ky(){
|
| | | isAllowHeaders(); //允许跨域访问
|
| | | //System.out.println(key+"@@@@@@@@@@@@@@@@@@@@@@");
|
| | | ServiceModel model = new ServiceModel();
|
| | | if(key != null && CROSS_DOMAIN_KEY.equals(key)){
|
| | | model = service.searchInform_ky(); |
| | | }else{ |
| | | model.setCode(0);
|
| | | model.setMsg("识别码错误");
|
| | | }
|
| | | result = ActionUtil.tojson(model);
|
| | | return SUCCESS;
|
| | | }
|
| | | |
| | | public BattInf getBif() {
|
| | | return bif;
|
| | | }
|