|
|
@@ -616,13 +616,14 @@ func (this *PaymentInfoController) ReceiveMoneyBillList() {
|
|
|
ActiComplete.Result = "1"
|
|
|
ActiComplete.Remarks = "交费成功。"
|
|
|
ActiComplete.CallbackUrl = utils.Cfg.MustValue("workflow", "callbackHost")
|
|
|
-
|
|
|
+ fmt.Println("进入协程!" + payItem.PayType)
|
|
|
go func() {
|
|
|
res := svcActiviti.TaskComplete(ActiComplete)
|
|
|
if res != "true" {
|
|
|
fmt.Println("工作流异常,请联系管理员!" + res)
|
|
|
//panic("工作流异常,请联系管理员!" + res)
|
|
|
}
|
|
|
+ fmt.Println("协程!" + payItem.PayType)
|
|
|
}()
|
|
|
} else if payItem.PayType == "2" { //年审
|
|
|
//取出年审表信息
|
|
|
@@ -637,13 +638,14 @@ func (this *PaymentInfoController) ReceiveMoneyBillList() {
|
|
|
ActiComplete.Result = "1"
|
|
|
ActiComplete.Remarks = "交费成功。"
|
|
|
ActiComplete.CallbackUrl = utils.Cfg.MustValue("workflow", "callbackHost")
|
|
|
-
|
|
|
+ fmt.Println("进入协程!" + payItem.PayType)
|
|
|
go func() {
|
|
|
res := svcActiviti.TaskComplete(ActiComplete)
|
|
|
if res != "true" {
|
|
|
fmt.Println("工作流异常,请联系管理员!" + res)
|
|
|
//panic("工作流异常,请联系管理员!" + res)
|
|
|
}
|
|
|
+ fmt.Println("协程!" + payItem.PayType)
|
|
|
}()
|
|
|
} else if payItem.PayType == "3" { //增项
|
|
|
//取出增项表信息
|
|
|
@@ -658,13 +660,14 @@ func (this *PaymentInfoController) ReceiveMoneyBillList() {
|
|
|
ActiComplete.Result = "1"
|
|
|
ActiComplete.Remarks = "交费成功。"
|
|
|
ActiComplete.CallbackUrl = utils.Cfg.MustValue("workflow", "callbackHost")
|
|
|
-
|
|
|
+ fmt.Println("进入协程!" + payItem.PayType)
|
|
|
go func() {
|
|
|
res := svcActiviti.TaskComplete(ActiComplete)
|
|
|
if res != "true" {
|
|
|
fmt.Println("工作流异常,请联系管理员!" + res)
|
|
|
//panic("工作流异常,请联系管理员!" + res)
|
|
|
}
|
|
|
+ fmt.Println("协程!" + payItem.PayType)
|
|
|
}()
|
|
|
} else if payItem.PayType == "7" { // 信息变更
|
|
|
//取出信息变更表信息
|
|
|
@@ -679,13 +682,14 @@ func (this *PaymentInfoController) ReceiveMoneyBillList() {
|
|
|
ActiComplete.Result = "1"
|
|
|
ActiComplete.Remarks = "交费成功。"
|
|
|
ActiComplete.CallbackUrl = utils.Cfg.MustValue("workflow", "callbackHost")
|
|
|
-
|
|
|
+ fmt.Println("进入协程!" + payItem.PayType)
|
|
|
go func() {
|
|
|
res := svcActiviti.TaskComplete(ActiComplete)
|
|
|
if res != "true" {
|
|
|
fmt.Println("工作流异常,请联系管理员!" + res)
|
|
|
//panic("工作流异常,请联系管理员!" + res)
|
|
|
}
|
|
|
+ fmt.Println("协程!" + payItem.PayType)
|
|
|
}()
|
|
|
}
|
|
|
}
|