|
@@ -192,7 +192,9 @@ public class ActivityOpenController extends BaseController {
|
|
|
|
|
|
|
|
@OperationLog(value = "取消报名")
|
|
@OperationLog(value = "取消报名")
|
|
|
@DeleteMapping(value = "/cancel_regist")
|
|
@DeleteMapping(value = "/cancel_regist")
|
|
|
- public ResponseMessage cancelRegist(@RequestParam("activity_id") String id, @RequestParam("phone") String phone, @RequestParam("user_id") String userId) {
|
|
|
|
|
|
|
+ public ResponseMessage cancelRegist(@RequestParam("activity_id") String id,
|
|
|
|
|
+ @RequestParam(value = "phone", required = false) String phone,
|
|
|
|
|
+ @RequestParam("user_id") String userId) {
|
|
|
|
|
|
|
|
List<ActivityRegistration> activityRegistrationList = activityRegistrationService.getCurrRegUsers(id, phone, userId);
|
|
List<ActivityRegistration> activityRegistrationList = activityRegistrationService.getCurrRegUsers(id, phone, userId);
|
|
|
if (!CollectionUtils.isEmpty(activityRegistrationList)) {
|
|
if (!CollectionUtils.isEmpty(activityRegistrationList)) {
|