Add attendance_list in service_event, add set user permission in user
All checks were successful
Client CMS Check Build (NixCN CMS) TeamCity build finished
Backend Check Build (NixCN CMS) TeamCity build finished

update

Signed-off-by: Asai Neko <sugar@sne.moe>
This commit is contained in:
2026-02-02 21:31:33 +08:00
parent 9c945d69a9
commit 99424ee55f
15 changed files with 733 additions and 30 deletions

View File

@@ -31,7 +31,7 @@ type CheckinResult struct {
func (self *EventServiceImpl) Checkin(payload *CheckinPayload) (result *CheckinResult) {
attendandeData, err := new(data.Attendance).
GetAttendanceByEventIdAndUserId(payload.Context, payload.Data.EventId, payload.UserId)
GetAttendance(payload.Context, payload.Data.EventId, payload.UserId)
if err != nil {
result = &CheckinResult{
Common: shared.CommonResult{