提交 538435bf authored 作者: renjianyu's avatar renjianyu

--no commit message

上级 3b41f24c
package com.zrqx.resource.fg.controller.exchange;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.zrqx.core.commons.form.LoginMemberInfo;
import com.zrqx.core.commons.redis.Redis;
import com.zrqx.core.enums.resource.EbookPromptMessageEnum;
import com.zrqx.core.util.response.CallBack;
import com.zrqx.resource.commons.form.fg.exchange.ExchangeForm;
import com.zrqx.resource.fg.service.ebook.FgBookService;
import com.zrqx.resource.fg.service.exchange.FgExchangeService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
/**
* 兑换管理-controller
* @author Conan
* @date 2018年7月13日上午10:02:31
*/
@RestController
@RequestMapping("/fg/exchange")
@Api(description="前台-兑换管理")
public class FgExchangeController {
@Autowired
private FgExchangeService fgExchangeService;
@Autowired
private Redis redis;
@ApiOperation(value = "兑换码兑现", notes = "兑换码兑现")
@GetMapping(value = "/save")
public CallBack<Boolean> ExchangeSave(ExchangeForm form) {
fgExchangeService.updateorsave(form);
return CallBack.success(null);
}
}
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论