...
|
...
|
@@ -5,6 +5,7 @@ import ( |
|
|
"gitlab.fjmaimaimai.com/mmm-go/gocomm/pkg/log"
|
|
|
"opp/controllers"
|
|
|
"opp/protocol"
|
|
|
"opp/services/agg"
|
|
|
"opp/services/chance"
|
|
|
"strings"
|
|
|
)
|
...
|
...
|
@@ -292,6 +293,7 @@ func (this *ChanceController) ChanceSubmit() { |
|
|
msg = protocol.NewReturnResponse(nil, e)
|
|
|
return
|
|
|
}
|
|
|
agg.SetFormDefaultValue(request.FormList, agg.SetRadioFormValue)
|
|
|
header := controllers.GetRequestHeader(this.Ctx)
|
|
|
msg = protocol.NewReturnResponse(chance.ChanceSubmit(header, request))
|
|
|
}
|
...
|
...
|
@@ -318,6 +320,7 @@ func (this *ChanceController) ChanceUpdate() { |
|
|
msg = protocol.NewReturnResponse(nil, e)
|
|
|
return
|
|
|
}
|
|
|
agg.SetFormDefaultValue(request.FormList, agg.SetRadioFormValue)
|
|
|
header := controllers.GetRequestHeader(this.Ctx)
|
|
|
msg = protocol.NewReturnResponse(chance.ChanceUpdate(header, request))
|
|
|
}
|
...
|
...
|
@@ -866,6 +869,7 @@ func (this *ChanceController) DraftSaveChance() { |
|
|
}
|
|
|
header := controllers.GetRequestHeader(this.Ctx)
|
|
|
request.SelfChecks.SetSelfChecksLevel1ByRule()
|
|
|
agg.SetFormDefaultValue(request.FormList, agg.SetRadioFormValue)
|
|
|
msg = protocol.NewReturnResponse(chance.DraftSaveChance(header, request))
|
|
|
}
|
|
|
|
...
|
...
|
|