Merge branch 'develop' of github.com:Frappet/hrms-api-org into develop
This commit is contained in:
commit
6d31b84a2c
3 changed files with 30 additions and 5 deletions
|
|
@ -57,6 +57,23 @@ export class OrganizationDotnetController extends Controller {
|
|||
private insigniaRepo = AppDataSource.getRepository(ProfileInsignia);
|
||||
private employeePosDictRepository = AppDataSource.getRepository(EmployeePosDict);
|
||||
|
||||
/**
|
||||
* ทำไว้ให้ service อื่นๆ ภายในระบบ call มาตรวจสอบเลขบัตรประจำตัวประชาชน
|
||||
*
|
||||
* @summary API ตรวจสอบเช็คเลขบัตรประจำตัวประชาชน
|
||||
*
|
||||
*/
|
||||
@Post("check-citizen")
|
||||
public async CheckCitizen(
|
||||
@Body()
|
||||
body: {
|
||||
citizenId: string;
|
||||
},
|
||||
) {
|
||||
let citizen = Extension.CheckCitizen(body.citizenId)
|
||||
return new HttpSuccess(citizen);
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. API Search Profile
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue