|
|
@ -2,7 +2,12 @@ package org.jeecg.modules.api.noticeapicontroller; |
|
|
|
|
|
|
|
|
|
|
|
import io.swagger.annotations.Api; |
|
|
|
import io.swagger.annotations.ApiOperation; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.jeecg.common.api.vo.Result; |
|
|
|
import org.jeecg.modules.apiBean.InfoBean; |
|
|
|
import org.springframework.web.bind.annotation.GetMapping; |
|
|
|
import org.springframework.web.bind.annotation.RequestHeader; |
|
|
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
|
|
import org.springframework.web.bind.annotation.RestController; |
|
|
|
|
|
|
@ -12,13 +17,135 @@ import org.springframework.web.bind.annotation.RestController; |
|
|
|
@Slf4j |
|
|
|
public class InfoApiController { |
|
|
|
|
|
|
|
|
|
|
|
//获取个人信息接口 |
|
|
|
@RequestMapping("/getInfo") |
|
|
|
public String getInfo(){ |
|
|
|
return "获取个人信息接口"; |
|
|
|
@ApiOperation(value="小程序-获取个人信息接口", notes="小程序-获取个人信息接口") |
|
|
|
@GetMapping("/getInfo") |
|
|
|
public Result<?> getInfo(@RequestHeader("X-Access-Token") String token) |
|
|
|
{ |
|
|
|
return Result.OK(); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//修改个人信息接口 |
|
|
|
@ApiOperation(value="小程序-修改个人信息接口", notes="小程序-修改个人信息接口") |
|
|
|
@GetMapping("/updateInfo") |
|
|
|
public Result<?> updateInfo(@RequestHeader("X-Access-Token") String token, InfoBean bean) |
|
|
|
{ |
|
|
|
return Result.OK(); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//添加银行卡 |
|
|
|
@ApiOperation(value="小程序-添加银行卡", notes="小程序-添加银行卡") |
|
|
|
@GetMapping("/addBankCard") |
|
|
|
public Result<?> addBankCard(@RequestHeader("X-Access-Token") String token) |
|
|
|
{ |
|
|
|
return Result.OK(); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//获取银行卡列表带分页 |
|
|
|
@ApiOperation(value="小程序-获取银行卡列表带分页", notes="小程序-获取银行卡列表带分页") |
|
|
|
@GetMapping("/getBankCardPage") |
|
|
|
public Result<?> getBankCardPage(@RequestHeader("X-Access-Token") String token) |
|
|
|
{ |
|
|
|
return Result.OK(); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//获取收益记录带分页 |
|
|
|
@ApiOperation(value="小程序-获取收益记录带分页", notes="小程序-获取收益记录带分页") |
|
|
|
@GetMapping("/getIncomePage") |
|
|
|
public Result<?> getIncomePage(@RequestHeader("X-Access-Token") String token) |
|
|
|
{ |
|
|
|
return Result.OK(); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//用户提现 |
|
|
|
@ApiOperation(value="小程序-用户提现", notes="小程序-用户提现") |
|
|
|
@GetMapping("/withdraw") |
|
|
|
public Result<?> withdraw(@RequestHeader("X-Access-Token") String token) |
|
|
|
{ |
|
|
|
return Result.OK(); |
|
|
|
} |
|
|
|
|
|
|
|
//获取提现记录带分页 |
|
|
|
@ApiOperation(value="小程序-获取提现记录带分页", notes="小程序-获取提现记录带分页") |
|
|
|
@GetMapping("/getWithdrawPage") |
|
|
|
public Result<?> getWithdrawPage(@RequestHeader("X-Access-Token") String token) |
|
|
|
{ |
|
|
|
return Result.OK(); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//获取个人认证信息 |
|
|
|
@ApiOperation(value="小程序-获取个人认证信息", notes="小程序-获取个人认证信息") |
|
|
|
@GetMapping("/getCertification") |
|
|
|
public Result<?> getCertification(@RequestHeader("X-Access-Token") String token) |
|
|
|
{ |
|
|
|
return Result.OK(); |
|
|
|
} |
|
|
|
|
|
|
|
//获取企业认证信息 |
|
|
|
@ApiOperation(value="小程序-获取企业认证信息", notes="小程序-获取企业认证信息") |
|
|
|
@GetMapping("/getCompanyCertification") |
|
|
|
public Result<?> getCompanyCertification(@RequestHeader("X-Access-Token") String token) |
|
|
|
{ |
|
|
|
return Result.OK(); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//个人认证提交 |
|
|
|
@ApiOperation(value="小程序-个人认证提交", notes="小程序-个人认证提交") |
|
|
|
@GetMapping("/submitCertification") |
|
|
|
public Result<?> submitCertification(@RequestHeader("X-Access-Token") String token) |
|
|
|
{ |
|
|
|
return Result.OK(); |
|
|
|
} |
|
|
|
|
|
|
|
//企业认证提交 |
|
|
|
@ApiOperation(value="小程序-企业认证提交", notes="小程序-企业认证提交") |
|
|
|
@GetMapping("/submitCompanyCertification") |
|
|
|
public Result<?> submitCompanyCertification(@RequestHeader("X-Access-Token") String token) |
|
|
|
{ |
|
|
|
return Result.OK(); |
|
|
|
} |
|
|
|
|
|
|
|
//获取推广记录列表 |
|
|
|
@ApiOperation(value="小程序-获取推广记录列表", notes="小程序-获取推广记录列表") |
|
|
|
@GetMapping("/getPromotionPage") |
|
|
|
public Result<?> getPromotionPage(@RequestHeader("X-Access-Token") String token) |
|
|
|
{ |
|
|
|
return Result.OK(); |
|
|
|
} |
|
|
|
|
|
|
|
//获取推广记录详情 |
|
|
|
@ApiOperation(value="小程序-获取推广记录详情", notes="小程序-获取推广记录详情") |
|
|
|
@GetMapping("/getPromotionDetail") |
|
|
|
public Result<?> getPromotionDetail(@RequestHeader("X-Access-Token") String token) |
|
|
|
{ |
|
|
|
return Result.OK(); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//获取我的发布列表 |
|
|
|
@ApiOperation(value="小程序-获取我的发布列表", notes="小程序-获取我的发布列表") |
|
|
|
@GetMapping("/getMyReleasePage") |
|
|
|
public Result<?> getMyReleasePage(@RequestHeader("X-Access-Token") String token) |
|
|
|
{ |
|
|
|
return Result.OK(); |
|
|
|
} |
|
|
|
|
|
|
|
//获取我的发布详情 |
|
|
|
@ApiOperation(value="小程序-获取我的发布详情", notes="小程序-获取我的发布详情") |
|
|
|
@GetMapping("/getMyReleaseDetail") |
|
|
|
public Result<?> getMyReleaseDetail(@RequestHeader("X-Access-Token") String token) |
|
|
|
{ |
|
|
|
return Result.OK(); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |