Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
youjj
cloud-platform
Commits
86c857e5
Commit
86c857e5
authored
Aug 25, 2020
by
hezhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加公司入驻
parent
d908168c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
WebConfiguration.java
...va/com/xxfc/platform/vehicle/config/WebConfiguration.java
+2
-1
CompanyApplyController.java
...c/platform/vehicle/rest/admin/CompanyApplyController.java
+9
-0
No files found.
xx-vehicle/xx-vehicle-server/src/main/java/com/xxfc/platform/vehicle/config/WebConfiguration.java
View file @
86c857e5
...
@@ -73,7 +73,8 @@ public class WebConfiguration implements WebMvcConfigurer {
...
@@ -73,7 +73,8 @@ public class WebConfiguration implements WebMvcConfigurer {
"/vehicleInfo/**"
,
"/vehicleInfo/**"
,
"/branchCompany/**"
,
"/branchCompany/**"
,
"/vehicleModel/**"
,
"/vehicleModel/**"
,
"/departure/**"
"/departure/**"
,
"/company/**"
};
};
Collections
.
addAll
(
list
,
urls
);
Collections
.
addAll
(
list
,
urls
);
return
list
;
return
list
;
...
...
xx-vehicle/xx-vehicle-server/src/main/java/com/xxfc/platform/vehicle/rest/admin/CompanyApplyController.java
View file @
86c857e5
package
com
.
xxfc
.
platform
.
vehicle
.
rest
.
admin
;
package
com
.
xxfc
.
platform
.
vehicle
.
rest
.
admin
;
import
com.github.wxiaoqi.security.auth.client.annotation.IgnoreUserToken
;
import
com.github.wxiaoqi.security.common.msg.ObjectRestResponse
;
import
com.github.wxiaoqi.security.common.msg.ObjectRestResponse
;
import
com.xxfc.platform.vehicle.biz.BranchCompanyApplyBiz
;
import
com.xxfc.platform.vehicle.biz.BranchCompanyApplyBiz
;
import
com.xxfc.platform.vehicle.common.BaseController
;
import
com.xxfc.platform.vehicle.common.BaseController
;
...
@@ -31,5 +32,13 @@ public class CompanyApplyController extends BaseController<BranchCompanyApplyBiz
...
@@ -31,5 +32,13 @@ public class CompanyApplyController extends BaseController<BranchCompanyApplyBiz
@ApiOperation
(
"新增入驻公司"
)
@RequestMapping
(
value
=
"app/unauth/add"
,
method
=
RequestMethod
.
POST
)
@IgnoreUserToken
public
ObjectRestResponse
addCompany
(
@RequestBody
BranchCompanyApply
branchCompanyApply
){
return
baseBiz
.
addOrUpd
(
branchCompanyApply
);
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment