From 8d493a008ce655963f0363b116d5b55e02eff3d6 Mon Sep 17 00:00:00 2001 From: fengjin <1435304038@qq.com> Date: 星期三, 16 十一月 2022 09:45:13 +0800 Subject: [PATCH] Merge branch 'zigonggao_dev' of http://gitlab.nhys.cdnhxx.com/root/zhihuishequ into zigonggao_dev --- springcloud_k8s_panzhihuazhihuishequ/auth/src/main/java/com/panzhihua/auth/api/LoginApi.java | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/auth/src/main/java/com/panzhihua/auth/api/LoginApi.java b/springcloud_k8s_panzhihuazhihuishequ/auth/src/main/java/com/panzhihua/auth/api/LoginApi.java index 2053545..aba20f3 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/auth/src/main/java/com/panzhihua/auth/api/LoginApi.java +++ b/springcloud_k8s_panzhihuazhihuishequ/auth/src/main/java/com/panzhihua/auth/api/LoginApi.java @@ -271,4 +271,19 @@ LoginReturnVO loginReturnVO=loginService.tfLogin(account,password,appid); return R.ok(loginReturnVO); } + + /** + * 电动车商城后台用户登录 + * + * @param account + * 账户 + * @param password + * 密码 + * @return 登录结果 + */ + @PostMapping("/loginBatteryUser") + public R loginBatteryUser(@RequestParam("account") String account, @RequestParam("password") String password,@RequestParam("appid")String appid) { + LoginReturnVO loginReturnVO = loginService.loginBatteryUser(account, password,appid); + return R.ok(loginReturnVO); + } } -- Gitblit v1.7.1