This commit is contained in:
愉快的大福 2024-09-08 19:46:56 +08:00
parent 1273e8c66f
commit 5e3bf43642

View File

@ -68,6 +68,8 @@ public class CardValueRuleController extends BaseController {
*/
@PostMapping("/saveOrUpdate")
public ResponseObject saveOrUpdate(@RequestBody CardValueRule cardValueRule) {
cardValueRule.setStoreId(TokenUtil.getNowAccountInfo().getStoreId());
cardValueRule.setChainStoreId(TokenUtil.getNowAccountInfo().getChainStoreId());
return getSuccessResult(this.cardValueRuleService.saveOrUpdate(cardValueRule));
}