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