101captain
2022-07-20 c40f8e3d2e08e108780091776437242528bf61d6
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/StreetApi.java
@@ -5,9 +5,11 @@
import javax.annotation.Resource;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import com.panzhihua.common.model.dtos.community.PageComStreetDTO;
@@ -81,4 +83,14 @@
        return r;
    }
    /**
     * 街道详情
     * @param id
     * @return
     */
    @GetMapping("detailStreet")
    public R detailStreet(@RequestParam("id") Long id) {
        return comStreetService.detailStreet(id);
    }
}