Kaynağa Gözat

卡券推广

release_toaliyun_real
masterspirit 7 yıl önce
ebeveyn
işleme
964ecf5546
1 değiştirilmiş dosya ile 3 ekleme ve 0 silme
  1. +3
    -0
      mallinkAdmin/src/main/java/com/simple/controller/WxCouponSpreadController.java

+ 3
- 0
mallinkAdmin/src/main/java/com/simple/controller/WxCouponSpreadController.java Dosyayı Görüntüle

@@ -38,6 +38,9 @@ public class WxCouponSpreadController extends BaseController
@ApiOperation("新增接口")
@PostMapping("add")
public ResultData add(@RequestBody WxCouponSpread wxCouponSpread) {
if(wxCouponSpread.getCouponId()==null){
return new ResultData(Result.ERROR,"没有找到券id");
}
//Assert.notNull(wxCouponSpread.getName(), "角色名不能为空");
//Assert.isTrue(!checkUnique(sysRole.getName(), null), "重复的角色名");
wxCouponSpreadService.saveOrUpdate(wxCouponSpread);


Yükleniyor…
İptal
Kaydet