|
|
@ -77,12 +77,12 @@ public class IndexApiController { |
|
|
|
//根据角色类型获取角色信息列表-讲解员/达人/摄影师 |
|
|
|
@ApiOperation(value="小程序-根据角色类型获取角色信息列表-讲解员/达人/摄影师", notes="1-讲解员,2-达人,3-摄影师") |
|
|
|
@RequestMapping(value = "/queryRoleInfoList", method = {RequestMethod.GET}) |
|
|
|
public Result<?> queryRoleInfoList(String roleType, String level, String spot){ |
|
|
|
return indexApiService.queryRoleInfoList(roleType, level, spot); |
|
|
|
public Result<?> queryRoleInfoList(String roleId, String level, String spot){ |
|
|
|
return indexApiService.queryRoleInfoList(roleId, level, spot); |
|
|
|
} |
|
|
|
|
|
|
|
//根据角色id获取角色信息详情 |
|
|
|
@ApiOperation(value="小程序-根据角色类型获取角色信息列表", notes="小程序-根据角色类型获取角色信息列表") |
|
|
|
@ApiOperation(value="小程序-根据角色Id获取角色信息详情", notes="小程序-根据角色Id获取角色信息详情") |
|
|
|
@RequestMapping(value = "/queryRoleInfoById", method = {RequestMethod.GET}) |
|
|
|
public Result<?> queryRoleInfoById(String roleInfoId){ |
|
|
|
return indexApiService.queryRoleInfoById(roleInfoId); |
|
|
@ -116,7 +116,7 @@ public class IndexApiController { |
|
|
|
|
|
|
|
/*************************我的***********************************/ |
|
|
|
//添加志愿者 |
|
|
|
@ApiOperation(value="小程序-添加支援者", notes="小程序-添加支援者") |
|
|
|
@ApiOperation(value="小程序-添加志愿者", notes="小程序-添加志愿者") |
|
|
|
@RequestMapping(value = "/addVolunteer", method = {RequestMethod.POST}) |
|
|
|
public Result<?> addVolunteer(){ |
|
|
|
return indexApiService.addVolunteer(); |
|
|
|