package com.xxfc.platform.activity.rest;

import com.github.wxiaoqi.security.common.msg.ObjectRestResponse;
import com.xxfc.platform.activity.biz.IntegralSignRecordBiz;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(value = "integralSignRecord")
@Api(value = "用户签到记录")
public class IntegralSignRecordController {

    @Autowired
    IntegralSignRecordBiz integralSignRecordBiz;

    @PostMapping(value = "/add")
    public ObjectRestResponse add(String integralRuleCode) {
        return integralSignRecordBiz.add(integralRuleCode);
    }

}
