Parcourir la source

fix:免车费设置

wrj il y a 10 mois
Parent
commit
7ff8453c47

+ 15 - 0
nightFragrance-admin/src/main/java/com/ylx/web/controller/massage/TJsController.java

@@ -123,6 +123,21 @@ public class TJsController extends BaseController {
         }
     }
 
+    @Log(title = "免车费设置", businessType = BusinessType.UPDATE)
+    @RequestMapping(value = "wx/freeFare", method = RequestMethod.POST)
+    @ApiOperation("免车费设置")
+    public R freeFare(@RequestBody TJs js) {
+        try {
+            return R.ok(jsService.updateById(js));
+        } catch (ServiceException s) {
+            log.error(s.toString());
+            return R.fail(s.getMessage());
+        } catch (Exception e) {
+            log.error(e.toString());
+            return R.fail("系统异常");
+        }
+    }
+
     /**
      * 微信查询
      *