From 14a8e5ec0a44d1df6d7d6184e52744330a07c9c6 Mon Sep 17 00:00:00 2001 From: kunkka Date: Sun, 25 Oct 2020 14:01:19 +0800 Subject: [PATCH] fix: add comments --- src/api/auth.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/api/auth.js b/src/api/auth.js index 700bb4a..8f8ac26 100644 --- a/src/api/auth.js +++ b/src/api/auth.js @@ -5,10 +5,12 @@ import request from "@/utils/request"; * - phone: 手机号码 * - password: 密码 * - countrycode: 国家码,用于国外手机号登录,例如美国传入:1 + * - md5_password: md5加密后的密码,传入后 password 将失效 * @param {Object} params * @param {string} params.phone * @param {string} params.password * @param {string=} params.countrycode + * @param {string=} params.md5_password */ export function loginWithPhone(params) { return request({