新增学员相关接口
This commit is contained in:
46
src/PgService/JsonRpcInterface/BaseData/StudentInterface.php
Normal file
46
src/PgService/JsonRpcInterface/BaseData/StudentInterface.php
Normal 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;
|
||||
}
|
||||
@@ -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 {}
|
||||
|
||||
Reference in New Issue
Block a user