|
|
|
@@ -9,6 +9,7 @@ import com.simple.domain.po.WxMall; |
|
|
|
import com.simple.mapper.WxAppinfoMapper; |
|
|
|
import com.simple.service.WxAppinfoService; |
|
|
|
import com.simple.service.WxMallService; |
|
|
|
import io.swagger.annotations.Api; |
|
|
|
import io.swagger.annotations.ApiImplicitParam; |
|
|
|
import io.swagger.annotations.ApiOperation; |
|
|
|
import org.apache.log4j.Logger; |
|
|
|
@@ -22,6 +23,7 @@ import java.util.Map; |
|
|
|
|
|
|
|
@RestController |
|
|
|
@RequestMapping("/api/mall") |
|
|
|
@Api(description="商场信息相关接口") |
|
|
|
public class WxMallController extends BaseController { |
|
|
|
private Logger logger = Logger.getLogger(WxMallController.class); |
|
|
|
|
|
|
|
@@ -46,8 +48,8 @@ public class WxMallController extends BaseController { |
|
|
|
return new ResultData(ErrorCode.MALL_INFO_NOT_FOUND); |
|
|
|
} |
|
|
|
Map resultMap = new HashMap(); |
|
|
|
resultMap.put("imgUrl", mall.getImgUrl()); |
|
|
|
resultMap.put("name", mall.getName()); |
|
|
|
resultMap.put("mallImgUrl", mall.getImgUrl()); |
|
|
|
resultMap.put("mallName", mall.getName()); |
|
|
|
return new ResultData(Result.SUCCESS, "查询成功", resultMap); |
|
|
|
} |
|
|
|
|
|
|
|
|