contract 部分修改
This commit is contained in:
parent
273c4513f0
commit
e65b4197b3
@ -221,13 +221,6 @@ func (a *Contract) SignContract(req *contract.SignContractRequest) (rep *contrac
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if contractInfo.Type != 4 && contractInfo.Type != 7 {
|
|
||||||
|
|
||||||
switch contractInfo.Type {
|
|
||||||
case 1:
|
|
||||||
var ContractNo = fmt.Sprintf("TF_%d", time.Now().UnixNano())
|
|
||||||
endTime := time.Now().AddDate(1, 0, -1)
|
|
||||||
parameterMap := make((map[string]string), 0)
|
|
||||||
var (
|
var (
|
||||||
realName string
|
realName string
|
||||||
address string
|
address string
|
||||||
@ -240,6 +233,15 @@ func (a *Contract) SignContract(req *contract.SignContractRequest) (rep *contrac
|
|||||||
} else {
|
} else {
|
||||||
fmt.Printf("用户%s 实名信息为空", artistDetailResponse.MgmtArtistUid)
|
fmt.Printf("用户%s 实名信息为空", artistDetailResponse.MgmtArtistUid)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if contractInfo.Type != 4 && contractInfo.Type != 7 {
|
||||||
|
|
||||||
|
switch contractInfo.Type {
|
||||||
|
case 1:
|
||||||
|
var ContractNo = fmt.Sprintf("TF_%d", time.Now().UnixNano())
|
||||||
|
endTime := time.Now().AddDate(1, 0, -1)
|
||||||
|
parameterMap := make((map[string]string), 0)
|
||||||
|
|
||||||
// 一、 模板填充
|
// 一、 模板填充
|
||||||
parameterMap["PartyAName"] = realName
|
parameterMap["PartyAName"] = realName
|
||||||
parameterMap["PartyAAddress"] = address
|
parameterMap["PartyAAddress"] = address
|
||||||
|
Loading…
Reference in New Issue
Block a user