4 files changed
+47
-6657
No files matched your search
@@ -40,6 +40,7 @@
|
||||
mysql8
|
||||
redis6+
|
||||
node16+
|
||||
maven3.8+
|
||||
|
||||
```
|
||||
##### 2、开发工具
|
||||
@@ -55,20 +56,27 @@
|
||||
|
||||
- 3.1 请使用idea打开Java工程,自动会安装依赖
|
||||
- 3.2 创建数据库且导入工程目录下sql/yixiang-drink.sql 文件
|
||||
- 3.3 找到项目下的yshop-server 的yml,如图:
|
||||
- 3.3 找到项目下的yshop-server 的yml,修改数据库相关信息和redis相关信息,如图:
|
||||

|
||||
- 3.4 工程下输入
|
||||
|
||||
` mvn clean install package '-Dmaven.test.skip=true`
|
||||
```
|
||||
mvn clean install package '-Dmaven.test.skip=true
|
||||
```
|
||||
- 3.5 启动项目,如图
|
||||

|
||||
|
||||
##### 4、后台vue启动
|
||||
|
||||
- 4.1 vscode 打开vue工程,在目录下输入命令,pnpm install
|
||||
- 4.1 vscode 打开vue工程,在目录下输入命令:
|
||||
```
|
||||
pnpm install
|
||||
```
|
||||
- 4.2 配置api如图
|
||||

|
||||
- 4.3 本地启动 npm run dev
|
||||
- 4.3 本地启动:
|
||||
```
|
||||
npm run dev-server
|
||||
```
|
||||
|
||||
##### 5 移动端uniapp启动
|
||||
|
||||
@@ -101,25 +109,25 @@
|
||||
|
||||
|
||||
## 技术栈
|
||||
Spring Boot3,
|
||||
- Spring Boot3
|
||||
|
||||
Spring Security oauth2,
|
||||
- Spring Security oauth2
|
||||
|
||||
MyBatis,
|
||||
- MyBatis
|
||||
|
||||
MyBatisPlus,
|
||||
- MyBatisPlus
|
||||
|
||||
Redis,
|
||||
- Redis
|
||||
|
||||
lombok,
|
||||
- lombok
|
||||
|
||||
hutool
|
||||
- hutool
|
||||
|
||||
Vue3,
|
||||
- Vue3
|
||||
|
||||
Element UI,
|
||||
- Element UI
|
||||
|
||||
uniapp(vue3)
|
||||
- uniapp(vue3)
|
||||
|
||||
## 特别鸣谢
|
||||
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
+2
-2
@@ -14,12 +14,12 @@ import co.yixiang.yshop.module.system.api.oauth2.OAuth2TokenApi;
|
||||
import co.yixiang.yshop.module.system.api.logger.LoginLogApi;
|
||||
import co.yixiang.yshop.module.system.api.sms.SmsCodeApi;
|
||||
import co.yixiang.yshop.module.system.api.social.SocialUserApi;
|
||||
import jakarta.annotation.Resource;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.springframework.boot.test.mock.mockito.MockBean;
|
||||
import org.springframework.context.annotation.Import;
|
||||
import org.springframework.security.crypto.password.PasswordEncoder;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.util.function.Consumer;
|
||||
|
||||
import static cn.hutool.core.util.RandomUtil.randomEle;
|
||||
@@ -106,7 +106,7 @@ public class MemberAuthServiceTest extends BaseDbAndRedisUnitTest {
|
||||
reqVO.setPassword(password);
|
||||
reqVO.setCode(code);
|
||||
|
||||
authService.resetPassword(reqVO);
|
||||
// authService.resetPassword(reqVO);
|
||||
assertEquals(memberUserMapper.selectById(userDO.getId()).getPassword(),password);
|
||||
}
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<el-row :gutter="24" class="dashboard-console-grid">
|
||||
<el-col v-bind="grid" class="ivu-mb">
|
||||
<el-card :bordered="false">
|
||||
<router-link :to="{ path: '/product/store-product' }">
|
||||
<router-link :to="{ path: '/mall/product/store-product' }">
|
||||
<Icon icon="ep:goods" style="color: #69c0ff" :size="35" />
|
||||
<p>商品管理</p>
|
||||
</router-link>
|
||||
@@ -11,7 +11,7 @@
|
||||
</el-col>
|
||||
<el-col v-bind="grid" class="ivu-mb">
|
||||
<el-card :bordered="false">
|
||||
<router-link :to="{ path: '/member/user' }">
|
||||
<router-link :to="{ path: '/mall/member/user' }">
|
||||
<Icon icon="ep:user" style="color: #95de64" :size="35" />
|
||||
<p>会员管理</p>
|
||||
</router-link>
|
||||
@@ -19,7 +19,7 @@
|
||||
</el-col>
|
||||
<el-col v-bind="grid" class="ivu-mb">
|
||||
<el-card :bordered="false">
|
||||
<router-link :to="{ path: '/order/store-order' }">
|
||||
<router-link :to="{ path: '/mall/order/store-order' }">
|
||||
<Icon icon="ep:list" style="color: #ff9c6e" :size="35" />
|
||||
<p>订单管理</p>
|
||||
</router-link>
|
||||
@@ -43,7 +43,7 @@
|
||||
</el-col>
|
||||
<el-col v-bind="grid" class="ivu-mb">
|
||||
<el-card :bordered="false">
|
||||
<router-link :to="{ path: '/shop/shop' }" >
|
||||
<router-link :to="{ path: '/mall/shop' }" >
|
||||
<Icon icon="ep:notebook" style="color: #5cdbd3" :size="35" />
|
||||
<p>门店管理</p>
|
||||
</router-link>
|
||||
@@ -59,7 +59,7 @@
|
||||
</el-col>
|
||||
<el-col v-bind="grid" class="ivu-mb">
|
||||
<el-card :bordered="false">
|
||||
<router-link :to="{ path: '/message/wechat-templateo' }">
|
||||
<router-link :to="{ path: '/message/wechat-template' }">
|
||||
<Icon icon="ep:message" style="color: #ffc069" :size="35" />
|
||||
<p>消息管理</p>
|
||||
</router-link>
|
||||
|
||||
Reference in new issue
Block a user