|
|
|
@@ -55,11 +55,10 @@ public class WxMallConfigController extends BaseController |
|
|
|
} |
|
|
|
|
|
|
|
@PostMapping("updateStopCarConpon") |
|
|
|
@ApiOperation("修改核销开关") |
|
|
|
@ApiOperation("修改停车开关") |
|
|
|
public ResultData updateStopCarConpon(@RequestBody WxMallConfig wxMallConfig) { |
|
|
|
WxMallConfig temp = new WxMallConfig(); |
|
|
|
temp.setKey("stopCarCouponSwitch"); |
|
|
|
temp.setTenantId(getTenantId()); |
|
|
|
// temp.setKey("stopCarCouponSwitch"); |
|
|
|
temp.setValue(wxMallConfig.getValue()); |
|
|
|
temp.setId(wxMallConfig.getId()); |
|
|
|
wxMallConfigService.saveOrUpdate(temp); |
|
|
|
@@ -70,8 +69,7 @@ public class WxMallConfigController extends BaseController |
|
|
|
@ApiOperation("修改核销开关") |
|
|
|
public ResultData updateVerifyConpon(@RequestBody WxMallConfig wxMallConfig) { |
|
|
|
WxMallConfig temp = new WxMallConfig(); |
|
|
|
temp.setKey("verifyConponSwitch"); |
|
|
|
temp.setTenantId(getTenantId()); |
|
|
|
// temp.setKey("verifyConponSwitch"); |
|
|
|
temp.setValue(wxMallConfig.getValue()); |
|
|
|
temp.setId(wxMallConfig.getId()); |
|
|
|
wxMallConfigService.saveOrUpdate(temp); |
|
|
|
|