|
|
|
@@ -0,0 +1,37 @@ |
|
|
|
package com.iformall.controller.invest; |
|
|
|
|
|
|
|
import com.iformall.annotation.SystemControllerLog; |
|
|
|
import com.iformall.common.InvestResultData; |
|
|
|
import com.iformall.domain.po.MallUserInfo; |
|
|
|
import com.iformall.service.MallUserInfoService; |
|
|
|
import io.swagger.annotations.Api; |
|
|
|
import io.swagger.annotations.ApiOperation; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.web.bind.annotation.PostMapping; |
|
|
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
|
|
import org.springframework.web.bind.annotation.RestController; |
|
|
|
|
|
|
|
|
|
|
|
@Slf4j |
|
|
|
@RestController |
|
|
|
@RequestMapping("invest") |
|
|
|
@Api(tags = "招商管理接口") |
|
|
|
public class InvestController extends InvestBaseController { |
|
|
|
|
|
|
|
@Autowired |
|
|
|
private MallUserInfoService userInfoService ; |
|
|
|
|
|
|
|
/** |
|
|
|
* 用户列表 |
|
|
|
*/ |
|
|
|
@ApiOperation("用户列表") |
|
|
|
@SystemControllerLog(description = "用户列表") |
|
|
|
@PostMapping("/users") |
|
|
|
public InvestResultData userList() { |
|
|
|
MallUserInfo query = new MallUserInfo() ; |
|
|
|
query.setIsAdmin(0); |
|
|
|
return execute(query, p -> userInfoService.findList(query)); |
|
|
|
} |
|
|
|
|
|
|
|
} |