Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
huatu_API
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
liudong1993
huatu_API
Commits
d1950511
Commit
d1950511
authored
Mar 31, 2026
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
c7ffd94c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
2 deletions
+20
-2
TravelContractModule.cs
REBORN.Module.DMCModule/TravelContractModule.cs
+20
-2
No files found.
REBORN.Module.DMCModule/TravelContractModule.cs
View file @
d1950511
...
@@ -528,11 +528,20 @@ namespace REBORN.Module.DMCModule
...
@@ -528,11 +528,20 @@ namespace REBORN.Module.DMCModule
//投诉信息
//投诉信息
var
Contract_Complaint
=
dictvalueRepository
.
GetList
(
new
RB_Dictvalue_Extend
()
{
RB_Group_id
=
htModel
.
RB_Group_Id
,
DictKey
=
"Contract_Complaint"
}).
FirstOrDefault
();
var
Contract_Complaint
=
dictvalueRepository
.
GetList
(
new
RB_Dictvalue_Extend
()
{
RB_Group_id
=
htModel
.
RB_Group_Id
,
DictKey
=
"Contract_Complaint"
}).
FirstOrDefault
();
string
AuthType
=
"1"
;
//取消人脸识别
var
Contract_CancelFaceList
=
dictvalueRepository
.
GetList
(
new
RB_Dictvalue_Extend
()
{
RB_Group_id
=
htModel
.
RB_Group_Id
,
DictKey
=
"Contract_CancelFace"
});
if
(
Contract_CancelFaceList
!=
null
&&
Contract_CancelFaceList
.
Any
(
x
=>
x
.
Name
==
htModel
.
Business_Certificate
))
{
//配置取消
AuthType
=
"0"
;
}
Console
.
WriteLine
(
"4"
);
Console
.
WriteLine
(
"4"
);
var
req
=
new
ApplyContractRequest
var
req
=
new
ApplyContractRequest
{
{
ERPContractId
=
htModel
.
ContractNum
,
ERPContractId
=
htModel
.
ContractNum
,
AuthType
=
QZModel
.
IDType
==
1
?
"1"
:
"0"
,
AuthType
=
AuthType
,
TemplateId
=
"C00001"
,
TemplateId
=
"C00001"
,
CallbackURL
=
"http://htapi.oytour.com/api/PayNotify/ContractNotify"
,
CallbackURL
=
"http://htapi.oytour.com/api/PayNotify/ContractNotify"
,
IsMultiSignatory
=
false
,
IsMultiSignatory
=
false
,
...
@@ -1409,10 +1418,19 @@ namespace REBORN.Module.DMCModule
...
@@ -1409,10 +1418,19 @@ namespace REBORN.Module.DMCModule
}
}
#
endregion
#
endregion
string
AuthType
=
"1"
;
//取消人脸识别
var
Contract_CancelFaceList
=
dictvalueRepository
.
GetList
(
new
RB_Dictvalue_Extend
()
{
RB_Group_id
=
htModel
.
RB_Group_Id
,
DictKey
=
"Contract_CancelFace"
});
if
(
Contract_CancelFaceList
!=
null
&&
Contract_CancelFaceList
.
Any
(
x
=>
x
.
Name
==
htModel
.
TravelAgency_LicenseNum
))
{
//配置取消
AuthType
=
"0"
;
}
var
req
=
new
ApplyContractRequest
var
req
=
new
ApplyContractRequest
{
{
ERPContractId
=
htModel
.
T_ContractNum
,
ERPContractId
=
htModel
.
T_ContractNum
,
AuthType
=
QZModel
.
IDType
==
1
?
"1"
:
"0"
,
AuthType
=
AuthType
,
TemplateId
=
""
,
//子方法新增
TemplateId
=
""
,
//子方法新增
CallbackURL
=
"http://htapi.oytour.com/api/PayNotify/ContractNotify"
,
CallbackURL
=
"http://htapi.oytour.com/api/PayNotify/ContractNotify"
,
IsMultiSignatory
=
false
,
IsMultiSignatory
=
false
,
...
...
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