| | |
| | | import com.ruoyi.system.api.domain.dto.AppMiniLoginDTO; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.stereotype.Controller; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | |
| | | @Controller |
| | |
| | | private static final String ALIPAY_PUBLIC_KEY = ""; |
| | | |
| | | |
| | | @RequestMapping("/getalipayInfo") |
| | | @PostMapping("/getalipayInfo") |
| | | @ApiOperation(value = "获取支付宝授权码") |
| | | public R<AppMiniLoginVO> getInfo(AppMiniLoginDTO appMiniLoginDto) { |
| | | //使用支付宝小程序的固定方法获取auth_code |