|
|
|
@@ -1,19 +1,16 @@ |
|
|
|
package com.simple.controller; |
|
|
|
|
|
|
|
import org.apache.log4j.Logger; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.util.Assert; |
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
|
|
|
|
import com.github.pagehelper.PageInfo; |
|
|
|
import com.simple.common.Result; |
|
|
|
import com.simple.common.ResultData; |
|
|
|
|
|
|
|
import com.simple.domain.po.WxMallBuilding; |
|
|
|
import com.simple.service.WxMallBuildingService; |
|
|
|
import io.swagger.annotations.ApiImplicitParam; |
|
|
|
import io.swagger.annotations.ApiImplicitParams; |
|
|
|
import io.swagger.annotations.ApiOperation; |
|
|
|
import org.apache.log4j.Logger; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
|
|
|
|
@RestController |
|
|
|
@RequestMapping("wxMallBuilding") |
|
|
|
@@ -65,7 +62,14 @@ public class WxMallBuildingController extends BaseController |
|
|
|
public ResultData findById(Long id) { |
|
|
|
return new ResultData(Result.SUCCESS,"查询成功",wxMallBuildingService.getById(id)); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ApiOperation("获取所有数据") |
|
|
|
@GetMapping("getbuildinglist") |
|
|
|
public ResultData getbuildinglist() { |
|
|
|
return wxMallBuildingService.getbuildinglist(getTenantId()); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |