修复生产统计与维修记录用户数据

This commit is contained in:
2026-09-06 21:06:36 +08:00
parent 02c8fb7021
commit 5ca6ef2d5a
41 changed files with 1838 additions and 205 deletions
@@ -186,6 +186,27 @@ final class DataEntryController
return $this->delegate->repairRecord($request, $repairRecordService);
}
#[OA\Get(path: '/produce/member-notification', summary: 'APP 获取当前会员生产通知', tags: ['produce-app'])]
#[DataResponse(description: '获取成功')]
public function memberNotifications(Request $request): Response
{
return $this->delegate->memberNotifications($request);
}
#[OA\Get(path: '/produce/member-notification/unread-count', summary: 'APP 获取未读生产通知数', tags: ['produce-app'])]
#[DataResponse(description: '获取成功')]
public function memberNotificationUnreadCount(): Response
{
return $this->delegate->memberNotificationUnreadCount();
}
#[OA\Put(path: '/produce/member-notification/read', summary: 'APP 标记生产通知已读', tags: ['produce-app'])]
#[SimpleResponse(description: '操作成功')]
public function readMemberNotification(Request $request): Response
{
return $this->delegate->readMemberNotification($request);
}
#[OA\Post(path: '/produce/exception/record', summary: 'APP 提交异常记录', tags: ['produce-app'])]
#[SimpleResponse(description: '提交成功')]
#[AllowAnonymous(requireToken: false, requirePermission: false, description: 'APP 公共接口')]
@@ -208,6 +229,13 @@ final class DataEntryController
return $this->delegate->productStatistics($request);
}
#[OA\Get(path: '/produce/dashboard/today', summary: 'APP 获取首页今日生产总览', tags: ['produce-app'])]
#[DataResponse(description: '获取成功')]
public function todayDashboard(): Response
{
return $this->delegate->todayDashboard();
}
#[OA\Get(path: '/produce/product-record/user-code-stats', summary: 'APP 整机用户统计', tags: ['produce-app'])]
#[DataResponse(description: '获取成功')]
public function productUserCodeStats(Request $request): Response