userApi.ts 690 B

12345678910111213141516171819
  1. import { IApiDocInterface } from "../base/interface";
  2. const userApiDoc: IApiDocInterface = {
  3. "/adm/account/verificationCode": {
  4. funcName: "getCode",
  5. desc: "获取验证码",
  6. post: {
  7. // params: {
  8. // type: { type: "num", desc: "查询类型 0:查询全部(不传时默认),1:查询充值可用币种,2:查询提现可用币种", required: true, },
  9. // },
  10. response: {
  11. imgToken: { type: "String", desc: "图片token", required: true, },
  12. verification: { type: "String", desc: "验证码", required: true, },
  13. }
  14. }
  15. },
  16. }
  17. export default userApiDoc;