package org.yl.ims.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.yl.ims.model.BingModel;
import org.yl.ims.util.Bing;

@Controller
@RequestMapping("bingapi")
public class BingCtrl {

	@RequestMapping("getBingData")
	@ResponseBody
	public BingModel getBingData(int previous) {
		String s = Bing.getBingData(previous);
		String url = s.substring(s.indexOf("http"),s.indexOf(".jpg")+4);
		return new BingModel(url);
		
	}
}
最近下载更多
wanglinddad  LV54 2022年4月5日
ohmlawx  LV2 2021年10月28日
Louis  LV7 2021年8月12日
wyyybl  LV4 2020年9月17日
手落弦崩  LV13 2019年10月21日
1310431445  LV6 2019年6月22日
zuizui  LV1 2019年4月19日
dch187  LV13 2019年4月2日
希望依然  LV6 2019年2月19日
2907787153  LV1 2018年12月28日
最近浏览更多
周敏国  LV9 2023年9月21日
tangyongheng08  LV6 2023年6月15日
996171721  LV7 2023年5月29日
124578zx 2023年3月31日
暂无贡献等级
13776818060 2023年3月19日
暂无贡献等级
ewan007  LV29 2023年3月13日
yubuzhuo  LV2 2023年2月27日
漫步的海星  LV4 2023年2月22日
Ali200930  LV2 2023年2月21日
zzhua195  LV6 2023年1月30日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友