1
This commit is contained in:
@@ -35,6 +35,27 @@ func (c *LaKaLaCallbackController) applyContract() {
|
||||
return
|
||||
}
|
||||
|
||||
// applyContractByPeople 合同申请人工审核回调
|
||||
func (c *LaKaLaCallbackController) applyContractByPeople() {
|
||||
body, err := ioutil.ReadAll(c.Ctx.Request.Body)
|
||||
if err != nil {
|
||||
c.Data["json"] = lakala.CallBackResultInfo(err)
|
||||
c.ServeJSON()
|
||||
return
|
||||
}
|
||||
globals.SugarLogger.Debugf("-----applyContractByPeople := %s", string(body))
|
||||
apply := &lakala.ApplyContractByPeopleCallBack{}
|
||||
if err = json.Unmarshal(body, apply); err != nil {
|
||||
c.Data["json"] = lakala.CallBackResultInfo(err)
|
||||
c.ServeJSON()
|
||||
return
|
||||
}
|
||||
|
||||
c.Data["json"] = lakala.CallBackResultInfo(lakalaServer.ApplyContractByPeople(apply))
|
||||
c.ServeJSON()
|
||||
return
|
||||
}
|
||||
|
||||
// SeparateMsg 商户开通/修改分账业务回调
|
||||
func (c *LaKaLaCallbackController) SeparateMsg() {
|
||||
body, err := ioutil.ReadAll(c.Ctx.Request.Body)
|
||||
|
||||
Reference in New Issue
Block a user