import { declareRequest } from "@cqsjjb/jjb-dva-runtime";

// 发送短信验证码
export const sendMessageAction = declareRequest(
  "sendMessageLoading",
  "Post > @/safetyEval/account/sendMessage"
);

// 新增用户（注册）
export const registerAction = declareRequest(
  "registerLoading",
  "Post > @/safetyEval/account/save"
);


export const orgInfoSave = declareRequest(
  "registerLoading",
  "Post > @/safetyEval/org-info/save"
);


export const syncUserToGBS = declareRequest(
  "syncUserToGBSLoading",
  "Get > /safetyEval/account/syncUserToGBS"
);