开放移动端代码

This commit is contained in:
linfeng 2022-07-27 13:38:29 +08:00
parent 5e4e5c76f6
commit a3ddbc0618
4 changed files with 12 additions and 9 deletions

View File

@ -91,9 +91,13 @@ https://github.com/virus010101/linfeng-community
1.**后台前端的代码**在 **src\main\resources\static\linfeng-community-vue** 目录下! 1.**后台前端的代码**在 **src\main\resources\static\linfeng-community-vue** 目录下!
2.**后台管理系统和后台管理系统后端API已经全部开源**。 2.**用户端的前端代码**在 **src\main\resources\static\linfeng-community-uniapp-ky** 目录下!
3.SQL文件开源的在QQ群开源不易**请左上角star后备注gitee的用户名加QQ群640700429获取** 3.**代码已经全部开源,包括用户端也发布了开源版**。演示站点的是标准版,不是开源版。
各版本说明请看:https://www.linfeng.tech/#/pages/post/detail?id=140
4.SQL文件开源的在QQ群开源不易**请左上角star后备注gitee的用户名加QQ群640700429获取**
<img src="https://gitee.com/virus010101/linfeng-community/raw/master/images/qrcode.jpg" style="zoom:25%;" /> <img src="https://gitee.com/virus010101/linfeng-community/raw/master/images/qrcode.jpg" style="zoom:25%;" />

View File

@ -126,7 +126,7 @@ public class AppUserServiceImpl extends ServiceImpl<AppUserDao, AppUserEntity> i
List<String> list=new ArrayList<>(); List<String> list=new ArrayList<>();
list.add("新人"); list.add("新人");
appUser.setTagStr(JSON.toJSONString(list)); appUser.setTagStr(JSON.toJSONString(list));
baseMapper.insert(appUserEntity); baseMapper.insert(appUser);
AppUserEntity user=this.lambdaQuery().eq(AppUserEntity::getMobile,form.getMobile()).one(); AppUserEntity user=this.lambdaQuery().eq(AppUserEntity::getMobile,form.getMobile()).one();
return user.getUid(); return user.getUid();
} }

View File

@ -43,7 +43,6 @@
uni.switchTab({ uni.switchTab({
url: '/pages/index/index' url: '/pages/index/index'
}); });
// this.getUserInfo();
} }
uni.hideLoading(); uni.hideLoading();

View File

@ -23,19 +23,19 @@
</block> </block>
<u-grid :col="4" :border="false" style="margin: 20rpx 0;" @click="toNav"> <u-grid :col="4" :border="false" style="margin: 20rpx 0;" @click="toNav">
<u-grid-item index="/pages/my/user?type=2"> <u-grid-item index="/pages/my/user?type=2">
<text>{{ userInfo.fans }}</text> <text>{{ userInfo.fans || 0}}</text>
<view class="grid-text">粉丝</view> <view class="grid-text">粉丝</view>
</u-grid-item> </u-grid-item>
<u-grid-item index="/pages/my/user?type=1"> <u-grid-item index="/pages/my/user?type=1">
<text>{{ userInfo.follow }}</text> <text>{{ userInfo.follow || 0 }}</text>
<view class="grid-text">关注</view> <view class="grid-text">关注</view>
</u-grid-item> </u-grid-item>
<u-grid-item index="/pages/my/post?type=2"> <u-grid-item index="/pages/my/post?type=2">
<text>{{ userInfo.postNum }}</text> <text>{{ userInfo.postNum || 0 }}</text>
<view class="grid-text">帖子</view> <view class="grid-text">帖子</view>
</u-grid-item> </u-grid-item>
<u-grid-item index=""> <u-grid-item index="">
<text>{{ userInfo.integral }}</text> <text>{{ userInfo.integral || 0 }}</text>
<view class="grid-text">积分</view> <view class="grid-text">积分</view>
</u-grid-item> </u-grid-item>
</u-grid> </u-grid>
@ -111,7 +111,7 @@
} else { } else {
this.hasLogin = false; this.hasLogin = false;
} }
this.getMsgNum(); // this.getMsgNum();
}, },
onShareAppMessage(res) { onShareAppMessage(res) {
let imgURL = 'http://pic.linfeng.tech/logo.png'; let imgURL = 'http://pic.linfeng.tech/logo.png';