Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-zx-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
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
Jobs
Commits
Open sidebar
项目统一框架
一体化_户用光伏项目代码
amos-boot-zx-biz
Commits
32242a81
Commit
32242a81
authored
Jun 13, 2024
by
wujiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交预览令牌接口
parent
ce382de3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
5 deletions
+11
-5
.factorypath
...-boot-system-jxiop/amos-boot-module-hygf-biz/.factorypath
+1
-1
pom.xml
amos-boot-system-jxiop/amos-boot-module-hygf-biz/pom.xml
+1
-1
QiyuesuoController.java
...s/boot/module/hygf/biz/controller/QiyuesuoController.java
+9
-3
QiyuesuoServiceImpl.java
...oot/module/hygf/biz/service/impl/QiyuesuoServiceImpl.java
+0
-0
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-biz/.factorypath
View file @
32242a81
...
...
@@ -79,7 +79,7 @@
<factorypathentry kind="VARJAR" id="M2_REPO/net/sf/ezmorph/ezmorph/1.0.6/ezmorph-1.0.6.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/cn/hutool/hutool-all/5.8.16/hutool-all-5.8.16.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/yeejoin/amos-feign-rule/1.8.5/amos-feign-rule-1.8.5.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/qiyuesuo/sdk/sdk-java/3.
6.3/sdk-java-3.6
.3.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/qiyuesuo/sdk/sdk-java/3.
8.3/sdk-java-3.8
.3.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/yeejoin/amos-feign-workflow/1.10.4/amos-feign-workflow-1.10.4.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/yeejoin/amos-component-feign/1.10.4/amos-component-feign-1.10.4.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/org/springframework/cloud/spring-cloud-starter-openfeign/2.2.5.RELEASE/spring-cloud-starter-openfeign-2.2.5.RELEASE.jar" enabled="true" runInBatchMode="false"/>
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-biz/pom.xml
View file @
32242a81
...
...
@@ -54,7 +54,7 @@
<dependency>
<groupId>
com.qiyuesuo.sdk
</groupId>
<artifactId>
sdk-java
</artifactId>
<version>
3.
6
.3
</version>
<version>
3.
8
.3
</version>
</dependency>
<dependency>
<groupId>
com.yeejoin
</groupId>
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/controller/QiyuesuoController.java
View file @
32242a81
...
...
@@ -86,7 +86,6 @@ public class QiyuesuoController extends BaseController {
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"个人token"
,
notes
=
"个人token"
)
@PostMapping
(
value
=
"/getUserToken"
)
public
ResponseModel
<
Object
>
getSdkResponse
(
@RequestBody
UserAuthMiniappTicketRequest
request
)
{
SdkResponse
<
MiniappTicketResult
>
result
=
qiyuesuoService
.
getSdkResponse
(
request
);
return
ResponseHelper
.
buildResponse
(
result
.
getResult
());
}
...
...
@@ -96,11 +95,10 @@ public class QiyuesuoController extends BaseController {
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"合同token"
,
notes
=
"合同token"
)
@PostMapping
(
value
=
"/getContractToken"
)
public
ResponseModel
<
Object
>
getContractSdkResponse
(
@RequestBody
ContractMiniappTicketRequest
request
)
{
SdkResponse
<
MiniappTicketResult
>
result
=
qiyuesuoService
.
getContractSdkResponse
(
request
);
return
ResponseHelper
.
buildResponse
(
result
.
getResult
());
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"合同token"
,
notes
=
"合同token"
)
@PostMapping
(
value
=
"/getContractTokengz/{sequenceNbr}"
)
...
...
@@ -114,6 +112,14 @@ public class QiyuesuoController extends BaseController {
return
ResponseHelper
.
buildResponse
(
result
.
getResult
());
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"获取合同浏览令牌"
,
notes
=
"获取合同浏览令牌"
)
@GetMapping
(
value
=
"/getContractTokenTicket/{sequenceNbr}"
)
public
ResponseModel
<
Object
>
getContractTokenTicket
(
@PathVariable
(
value
=
"sequenceNbr"
)
Long
sequenceNbr
)
{
SdkResponse
<
MiniappTicketResult
>
result
=
qiyuesuoService
.
getContractTokenTicket
(
sequenceNbr
);
return
ResponseHelper
.
buildResponse
(
result
.
getResult
());
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"创建合同"
,
notes
=
"创建合同"
)
...
...
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/QiyuesuoServiceImpl.java
View file @
32242a81
This diff is collapsed.
Click to expand it.
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