parent
eb86ae7cbc
commit
18180b3a01
@ -0,0 +1,10 @@
|
|||||||
|
import { stringify } from '@/utils/request.qs';
|
||||||
|
import request from '@/utils/request';
|
||||||
|
|
||||||
|
|
||||||
|
export async function usernameAuthenticate(params) {
|
||||||
|
return request(`/system-api/admins/oauth2/username-authenticate?${stringify(params)}`, {
|
||||||
|
method: 'POST',
|
||||||
|
body: {},
|
||||||
|
});
|
||||||
|
}
|
||||||
@ -0,0 +1,15 @@
|
|||||||
|
package cn.iocoder.mall.system.rest.controller.admin;
|
||||||
|
|
||||||
|
import cn.iocoder.common.framework.constant.MallConstants;
|
||||||
|
import io.swagger.annotations.Api;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
|
@RestController
|
||||||
|
@RequestMapping(MallConstants.ROOT_PATH_ADMIN + "/admin")
|
||||||
|
@Api(tags = "管理员 - 管理员 API")
|
||||||
|
public class AdminsOAdminController {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
Loading…
Reference in new issue