|
@@ -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("系统异常");
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 微信查询
|
|
|
*
|