package com.xxfc.platform.activity.rest;

import com.github.wxiaoqi.security.common.msg.ObjectRestResponse;
import com.github.wxiaoqi.security.common.rest.BaseController;
import com.xxfc.platform.activity.biz.ActivityRuleBiz;
import com.xxfc.platform.activity.entity.ActivityRule;
import com.xxfc.platform.activity.entity.ActivityUserJoin;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("rule")
public class ActivityRuleController extends BaseController<ActivityRuleBiz, ActivityRule> {

    @ApiOperation("新人有礼参加活动")
    @RequestMapping(value = "/app/unauth/H5", method = RequestMethod.GET)
    public ObjectRestResponse H5(){ return baseBiz.getActivityH5(); }

}