package com.xhpc.user.controller;

import com.xhpc.common.core.domain.R;
import com.xhpc.user.service.IXhpcAppInternetUserService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.Map;

@RestController
@RequestMapping("/appInternetUser")
@Api(value = "川逸充登录接口", tags = "川逸充登录接口")
public class XhpcAppInternetUserController {

    @Resource
    private IXhpcAppInternetUserService xhpcAppInternetUserService;

    @ApiOperation("川逸充登录")
    @PostMapping("/cycLogin")
    public R<?> cycLogin(@RequestBody Map<String, Object> map) {
        return xhpcAppInternetUserService.cycLogin(map);
    }
}
