Skip to content

Commit

Permalink
[opt] Remove unused comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
supervons committed Jan 9, 2022
1 parent 591a0f1 commit d8b5cc2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/actions/news.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import Toast from "../components/toast";

/**
* 新闻列表接口
* @param params {pageNo, itemNo}
* @returns {Promise<any | never>}
*/
const getNewsList = params => {
Expand Down
3 changes: 0 additions & 3 deletions src/actions/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import Axios from "../utils/axios/Axios";

/**
* 用户登录
* @param params {loginId, passWord}
* @returns {Promise<any | never>}
*/
const userLogin = params => {
Expand All @@ -11,7 +10,6 @@ const userLogin = params => {

/**
* 修改用户信息 目前支持姓名,手机号及地址
* @param params {loginId, passWord}
* @returns {Promise<any | never>}
*/
const updateUserInfo = params => {
Expand All @@ -20,7 +18,6 @@ const updateUserInfo = params => {

/**
* 修改密码
* @param params {loginId, passWord}
* @returns {Promise<any | never>}
*/
const updatePassword = params => {
Expand Down

0 comments on commit d8b5cc2

Please sign in to comment.