You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
479 B
20 lines
479 B
package subtitle |
|
|
|
import ( |
|
"context" |
|
"go-common/app/interface/main/dm2/model" |
|
"go-common/library/ecode" |
|
"go-common/library/log" |
|
) |
|
|
|
// View fn |
|
func (d *Dao) View(c context.Context, aid int64) (res *model.SubtitleSubjectReply, err error) { |
|
var arg = &model.ArgArchiveID{ |
|
Aid: aid, |
|
} |
|
if res, err = d.sub.SubtitleSubjectSubmitGet(c, arg); err != nil { |
|
log.Error("d.sub.SubtitleSubjectSubmitGet (%+v) error(%v)", arg, err) |
|
err = ecode.CreativeSubtitleAPIErr |
|
} |
|
return |
|
}
|
|
|