ws test 2
This commit is contained in:
parent
3344826fb9
commit
6475b96f9f
1 changed files with 5 additions and 10 deletions
|
|
@ -78,8 +78,6 @@ import { ProfileDuty } from "../entities/ProfileDuty";
|
||||||
import { ProfileAssessment } from "../entities/ProfileAssessment";
|
import { ProfileAssessment } from "../entities/ProfileAssessment";
|
||||||
import { ProfileAbility } from "../entities/ProfileAbility";
|
import { ProfileAbility } from "../entities/ProfileAbility";
|
||||||
|
|
||||||
import { sendWebSocket } from "../services/webSocket";
|
|
||||||
|
|
||||||
@Route("api/v1/org/profile")
|
@Route("api/v1/org/profile")
|
||||||
@Tags("Profile")
|
@Tags("Profile")
|
||||||
@Security("bearerAuth")
|
@Security("bearerAuth")
|
||||||
|
|
@ -1646,15 +1644,12 @@ export class ProfileController extends Controller {
|
||||||
profileAbility,
|
profileAbility,
|
||||||
otherIncome
|
otherIncome
|
||||||
};
|
};
|
||||||
const metaData = { template: "new_kk1",
|
|
||||||
|
return new HttpSuccess({
|
||||||
|
template: "new_kk1",
|
||||||
reportName: "docx-report",
|
reportName: "docx-report",
|
||||||
data: data};
|
data: data,
|
||||||
sendWebSocket(metaData)
|
});
|
||||||
// return new HttpSuccess({
|
|
||||||
// template: "new_kk1",
|
|
||||||
// reportName: "docx-report",
|
|
||||||
// data: data,
|
|
||||||
// });
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue