新增学员相关接口

This commit is contained in:
2026-08-20 17:18:57 +08:00
parent 3ad0eb4824
commit 3fe6ef47b1
2 changed files with 49 additions and 1 deletions

View File

@@ -0,0 +1,46 @@
<?php
declare(strict_types=1);
namespace Dhd\Micro\Interface\PgService\JsonRpcInterface\BaseData;
interface StudentInterface
{
/**
* 获取学生分页列表
* @param array $params 请求参数
* @return array
*/
public function getStudentPageList(array $params): array;
/**
* 获取学生信息详情
* @param int $studentId 学生ID
* @return array
*/
public function getStudentDetail(int $studentId): ?array;
/**
* APP获取学生信息
* @param int $userId 用户ID
* @return array
*/
public function appGetCrmStudentDetail(int $userId): array;
/**
* 更新学生座位号
* @param int $studentId 学生ID
* @param string $seatNo 座位号
* @return void
*/
public function updateStudentSeatNo(int $studentId, string $seatNo): void;
/**
* 更新学生分校
* @param int $studentId 学生ID
* @param int $schoolId 学校ID
* @return void
*/
public function updateStudentSchool(int $studentId, int $schoolId): void;
}

View File

@@ -9,10 +9,12 @@ use Dhd\Micro\Interface\PgService\JsonRpcInterface\PgPaperInterface;
use Dhd\Micro\Interface\PgService\JsonRpcInterface\PgSubjectInterface;
use Dhd\Micro\Interface\PgService\JsonRpcInterface\PgPhaseInterface;
use Dhd\Micro\Interface\PgService\JsonRpcInterface\PgUserPaperRecordInterface;
use Dhd\Micro\Interface\PgService\JsonRpcInterface\BaseData\StudentInterface;
interface PgService extends
SchoolInterface,
PgPaperInterface,
PgSubjectInterface,
PgPhaseInterface,
PgUserPaperRecordInterface {}
PgUserPaperRecordInterface,
StudentInterface {}