Java
Spring
SpringMvc
Springboot
Mybatis Plus
Mysql
Vue
Node.js
Springcloud : nacos , openfeign , gateway, etc.
| Module Name | Module Description |
|---|---|
| gulimall-common | To save constant, exception, util classes, etc. |
| gulimall-coupon | To provide product coupon information |
| gulimall-gateway | The gateway receives all requests from the front-end and forwards them to other services |
| gulimall-member | To provide member services |
| gulimall-order | To provide order services |
| gulimall-product | add/update/delete products |
| gulimall-third-party | Integrate third party services, such as Aliyun OSS |
| gulimall-ware | To provide ware services |
2. Import RENREN-FAST and RENREN-FAST-VUE from website https://gitee.com/renrenio and take mine(waiting for uploading) as reference.
3. Use command "npm install" to firstly install the front-end and then use "npm dev run" to run this front-end system.
4. Build databases and import sql files(waiting for uploading...)
5. Modify the specific information in each application.yml
6. Install Nacos and use Nacos as registration and configuration center(you can also use other software)
7. Start applications(currently exclude gulimall-order)
Please take my configuration as an example:
| java | version:"1.8.0_351" |
| MAVEN | Version:3.6.3 |
| Node.js | Version:12.0.0 |
| MySQL | Version: 8.0.30 |
Finally found it was caused by the duplicated use of mapper scan on starter class and @Mapper annotation!!!
It is corresponding to gulimall_vms database. There are 6 tables in the database. One saves the information of different wares. One saves the stock details in each ware.Two of them are related with order. The left two are to do with purchase details.
Firstly, I can't add ware info data. It prompts 500 error. I checked the code of wareInfoController and didn't find anything wrong. I noticed the console showing that there might be a problem in SQL. I finally found that I didn't add get/set methods for wareInfo entity after deleting lombok(there is conflict if I use lombok).
when I developed spu管理 and chose 规格,the page showed 400. After I inserted one SQL"INSERT INTO sys_menu (menu_id, parent_id, name, url, perms, type, icon, order_num) VALUES (76, 37, '规格维护', 'product/attrupdate', '', 2, 'log', 0);" and change type to 1. I can see the content of "规格".
??I still have questions here.