...
|
...
|
@@ -386,6 +386,7 @@ func ChanceUpdate(header *protocol.RequestHeader, request *protocol.ChanceSubmit |
|
|
//6.更新文件
|
|
|
{
|
|
|
if chanceData, err = models.GetChanceDataByChanceId(chance.Id); err == nil {
|
|
|
|
|
|
if err = utils.UpdateTableByMapWithOrmer(orm, chanceData, map[string]interface{}{
|
|
|
"Speechs": common.AssertJson(request.Speechs),
|
|
|
"Images": common.AssertJson(request.Pictures),
|
...
|
...
|
|