Commit a5ffb267 authored by Hsinli's avatar Hsinli

add

parent e2b4d6c6
Pipeline #5939 passed with stage
in 9 seconds
......@@ -10,6 +10,7 @@ class MineService extends Service {
async getMineInfo() {
const { ctx, service } = this;
let ret = {
login: false,
user: {
nickname: '',
avatar: '',
......@@ -42,6 +43,7 @@ class MineService extends Service {
if (phone.length > 0) {
phone = phone.substing(0, 2) + phone.substing(7, 10);
}
ret.login = true;
ret.user.nickname = appUserInfo.nickname || '';
ret.user.avatar = appUserInfo.avatar || '';
ret.user.avatar = phone;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment