package com.nova.sankuai.controller.v2; import com.nova.sankuai.infra.utils.mxc.MxcUtil; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import lombok.AllArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; /** * @Description 会员权益Controller * @Author CWR * @Date 2022/4/4 16:02 */ @Api(tags = "我的测试") @RestController @RequestMapping(value = "/api/v2/mytest") @AllArgsConstructor @Slf4j public class MyTestController { private final MxcUtil mxcUtil; @GetMapping("/test") @ApiOperation(value = "测试联登录") public String test() { String url = mxcUtil.push("460028197610126093", "15289944684", "张小东"); return url; } }