Compare commits
No commits in common. "aa08c15e2a738b5aa73ce5954bdeb0a6fef7e369" and "8ad73a887424983332ee86e46e2dcb38c214e7a7" have entirely different histories.
aa08c15e2a
...
8ad73a8874
@ -214,17 +214,7 @@ func WorkConfirm(c *gin.Context) { // 确认作品并扣除余量
|
|||||||
service.Error(c, errors.New("不支持的类型"))
|
service.Error(c, errors.New("不支持的类型"))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
_, err = service.BundleProvider.AddBundleBalance(c, &addBalanceReq)
|
res, err := service.BundleProvider.AddBundleBalance(c, &addBalanceReq)
|
||||||
if err != nil {
|
|
||||||
service.Error(c, err)
|
|
||||||
return
|
|
||||||
}
|
|
||||||
res, err := service.CastProvider.UpdateStatus(c, &cast.UpdateStatusReq{
|
|
||||||
WorkAction: cast.WorkActionENUM_CONFIRM,
|
|
||||||
WorkUuid: req.WorkUuid,
|
|
||||||
ConfirmRemark: req.ConfirmRemark,
|
|
||||||
ConfirmStatus: 1,
|
|
||||||
})
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
service.Error(c, err)
|
service.Error(c, err)
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user