|
@@ -11,6 +11,7 @@ import com.cpp.web.domain.station.enums.ProvinceEnum;
|
|
|
import lombok.Data;
|
|
|
import lombok.RequiredArgsConstructor;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
import java.util.ArrayList;
|
|
@@ -20,7 +21,8 @@ import java.util.List;
|
|
|
* 枚举返回select类型选择转换接口
|
|
|
*/
|
|
|
@RequiredArgsConstructor
|
|
|
-@RestController("enumSelect")
|
|
|
+@RestController
|
|
|
+@RequestMapping("enumSelect")
|
|
|
public class EnumSelectController {
|
|
|
|
|
|
|