| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- import { dK as e } from "./index2.js";
- const i = () => window.$utils.env.VITE_APP_PORTAL_SERVER_NAME;
- function a(t = {}) {
- return window.$utils.http({
- url: `${i()}/sysAccountConfig/listByActivate`,
- data: t
- });
- }
- function d() {
- return window.$utils.http({
- url: `${i()}/sysPwdConfig/getFirstData`
- });
- }
- function c(t = null) {
- return window.$utils.http({
- method: "get",
- url: `${i()}/qrLogin/generate`,
- data: t
- });
- }
- function l(t) {
- return window.$utils.http({
- url: `${i()}/user/getValidationCodeWithoutToken`,
- data: t
- });
- }
- function w(t, n) {
- return window.$utils.http({
- url: `${i()}/user/checkValidationCodeWithoutToken?${e.stringify({ code: t, no: n })}`
- });
- }
- function $(t, n, o, u) {
- return window.$utils.http({
- url: `${i()}/user/updatePasswordWithoutToken?${e.stringify({ password: t, no: n, code: o })}`,
- headers: { "user-token": u }
- });
- }
- function h(t, n, o, u, r) {
- return window.$utils.http({
- url: `${i()}/user/checkUseInfo?${e.stringify({
- no: t,
- name: n,
- certNo: o,
- validationCode: u,
- validationCodeId: r
- })}`
- });
- }
- function f(t) {
- return window.$utils.http({
- url: `${i()}/user/getActivateValidationCode`,
- data: t
- });
- }
- function g(t, n) {
- return window.$utils.http({
- url: `${i()}/user/checkActivateValidationCode?${e.stringify({ code: t, userId: n })}`
- });
- }
- function p(t, n) {
- return window.$utils.http({
- url: `${i()}/user/activateUpdatePassword?${e.stringify({ userId: t, oldPassword: n })}`
- });
- }
- export {
- c as a,
- d as b,
- l as c,
- w as d,
- h as e,
- g as f,
- a as g,
- f as h,
- p as i,
- $ as u
- };
|