|
|
@@ -82,11 +82,11 @@ func (c *AppCatController) Update() *JsonResult {
|
|
|
func (c *AppCatController) DeleteByID(appCatId int64) *JsonResult {
|
|
|
ocId := c.GetCurOcId()
|
|
|
userId := c.GetCurUserId()
|
|
|
+
|
|
|
m := make(map[string]interface{})
|
|
|
m["ocId"] = ocId
|
|
|
m["appCatId"] = appCatId
|
|
|
m["deletedBy"] = userId
|
|
|
-
|
|
|
if err := c.Service.Delete(m); err != nil {
|
|
|
return ResultErr(err.Error(), nil)
|
|
|
} else {
|