Skip to content

Commit 681a1e1

Browse files
committed
update
1 parent 54bc2a9 commit 681a1e1

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ npm run build
302302
303303
> 推荐一个 react + redux 开源项目,对react感兴趣的朋友赶紧去看看。[地址在这里](https://github.com/bailicangdu/react-pxq)
304304
305-
> 另外一个 vue + vuex 的入门项目,比当前的项目简单很多,非常适合入门练习。[地址在这里](https://github.com/bailicangdu/vue2-happyfri)
305+
> 另外一个 vue2 + vuex 的入门项目,比当前的项目简单很多,非常适合入门练习。[地址在这里](https://github.com/bailicangdu/vue2-happyfri)
306306
307307
##### 个人时间有限,还有其他的项目要做,在此感谢辰妹子,个人中心的所有页面都由她来完成,辛苦了!🙏
308308

src/service/getData.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -205,11 +205,11 @@ export const mobileCode = phone => fetch('POST', '/v4/mobile/verify_code/send',
205205
* 手机号登陆
206206
*/
207207

208-
export const sendLogin = (code, mobile, validate_token) => fetch('POST', '/v1/login/app_mobile', {
209-
code,
210-
mobile,
211-
validate_token
212-
});
208+
// export const sendLogin = (code, mobile, validate_token) => fetch('POST', '/v1/login/app_mobile', {
209+
// code,
210+
// mobile,
211+
// validate_token
212+
// });
213213

214214

215215

@@ -429,7 +429,7 @@ const setpromise = data => {
429429
// export const ratingScores = shopid => setpromise(shop.scores);
430430
// export const ratingTags = shopid => setpromise(shop.tage);
431431
// export const mobileCode = phone => setpromise(login.validate_token);
432-
// export const sendLogin = (code, mobile, validate_token) => setpromise(login.userInfo);
432+
export const sendLogin = (code, mobile, validate_token) => setpromise(login.userInfo);
433433
// export const accountLogin = (username, password, captcha_code) => setpromise(login.userInfo);
434434
// export const checkExsis = (checkNumber, type) => setpromise(login.checkExsis);
435435
// export const sendMobile = (sendData, captcha_code, type, password) => setpromise(login.send);

0 commit comments

Comments
 (0)