mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-07-12 01:58:00 +08:00
支付宝登录
This commit is contained in:
@@ -114,6 +114,7 @@ public class MemberController extends BaseController {
|
|||||||
*/
|
*/
|
||||||
@PostMapping("/wechatLogin")
|
@PostMapping("/wechatLogin")
|
||||||
public RestApiResponse<?> wechatLogin(HttpServletRequest request, @RequestBody WechatLoginDTO dto) {
|
public RestApiResponse<?> wechatLogin(HttpServletRequest request, @RequestBody WechatLoginDTO dto) {
|
||||||
|
logger.info("微信小程序登录param:{}, user-agent:{}", JSON.toJSONString(dto), request.getHeader("user-agent"));
|
||||||
RestApiResponse<?> response = null;
|
RestApiResponse<?> response = null;
|
||||||
try {
|
try {
|
||||||
// 获取小程序appid
|
// 获取小程序appid
|
||||||
@@ -134,7 +135,7 @@ public class MemberController extends BaseController {
|
|||||||
*/
|
*/
|
||||||
@PostMapping("/alipayLogin")
|
@PostMapping("/alipayLogin")
|
||||||
public RestApiResponse<?> alipayLogin(HttpServletRequest request, @RequestBody AlipayLoginDTO dto) {
|
public RestApiResponse<?> alipayLogin(HttpServletRequest request, @RequestBody AlipayLoginDTO dto) {
|
||||||
logger.info("支付宝小程序登录param:{}", JSON.toJSONString(dto));
|
logger.info("支付宝小程序登录param:{}, user-agent:{}", JSON.toJSONString(dto), request.getHeader("user-agent"));
|
||||||
RestApiResponse<?> response = null;
|
RestApiResponse<?> response = null;
|
||||||
try {
|
try {
|
||||||
// 获取小程序appid
|
// 获取小程序appid
|
||||||
|
|||||||
Reference in New Issue
Block a user