hz-zhhq-app-service/greenH5modul/.svn/pristine/a1/a1785a39bc62695a7649ce4e116...

23 lines
683 B
Plaintext
Raw Normal View History

2025-01-21 13:12:35 +08:00
package com.nationalelectric.greenH5;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import com.nationalelectirc.utils.RestResult;
@Controller
@RequestMapping("/greenTest")
public class TestController extends GreenBaseController{
@RequestMapping(value= "/test")
@ResponseBody
public RestResult test(String userName){
return new RestResult("1002",userName);
}
}