-
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from Jzow/master
Fix Code Architecture #13
- Loading branch information
Showing
280 changed files
with
1,372 additions
and
1,336 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ | |
hs_err_pid* | ||
|
||
.idea | ||
/target | ||
**/target | ||
/logs.home_IS_UNDEFINED | ||
|
||
**/*.iml | ||
|
15 changes: 11 additions & 4 deletions
15
...n/java/com/wansensoft/ErpApplication.java → ...va/com/wansensoft/api/ErpApplication.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,27 @@ | ||
package com.wansensoft; | ||
package com.wansensoft.api; | ||
|
||
import com.wansensoft.utils.ComputerInfo; | ||
import org.mybatis.spring.annotation.MapperScan; | ||
import org.springframework.boot.SpringApplication; | ||
import org.springframework.boot.autoconfigure.SpringBootApplication; | ||
import org.springframework.context.ConfigurableApplicationContext; | ||
import org.springframework.context.annotation.ComponentScan; | ||
import org.springframework.core.env.Environment; | ||
import org.springframework.scheduling.annotation.EnableScheduling; | ||
|
||
import java.io.IOException; | ||
|
||
@SpringBootApplication | ||
@EnableScheduling | ||
@MapperScan("com.wansensoft.mappers") | ||
@ComponentScan("com.wansensoft") | ||
public class ErpApplication { | ||
|
||
public static void main(String[] args) { | ||
public static void main(String[] args) throws IOException { | ||
ConfigurableApplicationContext context = SpringApplication.run(ErpApplication.class, args); | ||
Environment environment = context.getBean(Environment.class); | ||
System.out.println("启动成功,后端服务API地址:http://" + ComputerInfo.getIpAddr() + ":" | ||
+ environment.getProperty("server.port") + "/jshERP-boot/doc.html"); | ||
System.out.println("您还需启动前端服务,启动命令:yarn run serve 或 npm run serve,测试用户:jsh,密码:123456"); | ||
+ environment.getProperty("server.port") + "/wansenerp/doc.html"); | ||
System.out.println("您还需启动前端服务,启动命令:yarn run serve 或 npm run serve,测试用户:wansenerp,密码:123456"); | ||
} | ||
} |
8 changes: 4 additions & 4 deletions
8
...java/com/wansensoft/PluginController.java → .../com/wansensoft/api/PluginController.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
...ensoft/account/AccountHeadController.java → ...ft/api/account/AccountHeadController.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...ensoft/account/AccountItemController.java → ...ft/api/account/AccountItemController.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
...com/wansensoft/depot/DepotController.java → ...wansensoft/api/depot/DepotController.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 9 additions & 9 deletions
18
...wansensoft/depot/DepotHeadController.java → ...ensoft/api/depot/DepotHeadController.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.