package com.hgq.cxf.service.impl;
import javax.jws.WebService;
import org.springframework.stereotype.Component;
import com.hgq.cxf.service.CxfService;
@WebService(endpointInterface = "com.hgq.cxf.service.CxfService")
@Component(value = "CxfServiceImpl")
public class CxfServiceImpl implements CxfService
{
@Override
public String getWeather(int day)
{
if(0 < day && day < 8)
{
String result = "晴";
switch (day)
{
case 1:
result = "晴";
break;
case 2:
result = "雷阵雨";
break;
case 3:
result = "晴到多云";
break;
case 4:
result = "多云";
break;
case 5:
result = "多云";
break;
case 6:
result = "暴雨";
break;
case 7:
result = "阴";
break;
default:
break;
}
return result;
}
else
{
return "error";
}
}
}
最近下载更多
503382513 LV12
2022年12月6日
gao123qq LV21
2021年5月17日
1140377596 LV1
2021年5月3日
z1933946957 LV1
2021年4月13日
15947813008 LV5
2020年12月28日
夏同学 LV1
2020年6月9日
far_away LV1
2020年5月5日
14327211789 LV1
2020年4月1日
15398544947 LV9
2020年3月27日
dengjunjun LV15
2019年12月11日

最近浏览