|
|
|
@@ -0,0 +1,40 @@ |
|
|
|
package com.iformall.controller.basic; |
|
|
|
|
|
|
|
import com.iformall.annotation.SystemControllerLog; |
|
|
|
import com.iformall.common.Result; |
|
|
|
import com.iformall.common.ResultData; |
|
|
|
import com.iformall.controller.base.BaseController; |
|
|
|
import com.iformall.domain.po.MallSaleType; |
|
|
|
import com.iformall.service.WxCUserTagsService; |
|
|
|
import com.iformall.service.WxTagsService; |
|
|
|
import com.iformall.service.sys.MallSaleTypeService; |
|
|
|
import io.swagger.annotations.Api; |
|
|
|
import io.swagger.annotations.ApiOperation; |
|
|
|
import org.slf4j.Logger; |
|
|
|
import org.slf4j.LoggerFactory; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.web.bind.annotation.GetMapping; |
|
|
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
|
|
import org.springframework.web.bind.annotation.RestController; |
|
|
|
|
|
|
|
import java.util.Arrays; |
|
|
|
|
|
|
|
@RestController |
|
|
|
@RequestMapping("mallSaleType") |
|
|
|
@Api(description="销售类型") |
|
|
|
public class MallSaleTypeController extends BaseController { |
|
|
|
private final Logger logger = LoggerFactory.getLogger(this.getClass()); |
|
|
|
|
|
|
|
@Autowired |
|
|
|
private MallSaleTypeService mallSaleTypeService; |
|
|
|
|
|
|
|
@GetMapping("getAllList") |
|
|
|
@ApiOperation("标签弹窗接口") |
|
|
|
@SystemControllerLog(description = "会员管理-标签获取") |
|
|
|
public ResultData getAllList() { |
|
|
|
logger.debug("[" + getIpAddr() + "] WxTagsController::getAllList"); |
|
|
|
return new ResultData(mallSaleTypeService.getList(new MallSaleType())); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |