|
@@ -764,6 +764,7 @@ func YiDongSignAppointmentsForThird(cont context.Context) (err error) {
|
|
|
return
|
|
|
}
|
|
|
url := utils.YiDongHuaWeiYunUrl + "app/hz/signAppointmentsForThird"
|
|
|
+ var outCallStatus string
|
|
|
for _, v := range activityList {
|
|
|
var parsSignUp []interface{}
|
|
|
var conditionSignUp string
|
|
@@ -779,6 +780,11 @@ func YiDongSignAppointmentsForThird(cont context.Context) (err error) {
|
|
|
continue
|
|
|
}
|
|
|
for _, vS := range listSignUp {
|
|
|
+ if vS.SignupType == 1 {
|
|
|
+ outCallStatus = "1"
|
|
|
+ } else {
|
|
|
+ outCallStatus = "0"
|
|
|
+ }
|
|
|
params := SignAppointmentsForThirdParam{
|
|
|
ActivityId: v.YidongActivityIdByCygx,
|
|
|
MobileCountryCode: "+" + vS.CountryCode,
|
|
@@ -788,7 +794,7 @@ func YiDongSignAppointmentsForThird(cont context.Context) (err error) {
|
|
|
PersonName: vS.RealName,
|
|
|
JoinRole: "2",
|
|
|
CompanyName: vS.CompanyName,
|
|
|
- OutCallStatus: "1",
|
|
|
+ OutCallStatus: outCallStatus,
|
|
|
}
|
|
|
postData, e := json.Marshal(params)
|
|
|
if e != nil {
|