diff --git a/miaosha-admin/miaosha-admin-api/pom.xml b/miaosha-admin/miaosha-admin-api/pom.xml
index 2505e38..df189dd 100644
--- a/miaosha-admin/miaosha-admin-api/pom.xml
+++ b/miaosha-admin/miaosha-admin-api/pom.xml
@@ -7,4 +7,21 @@
0.0.1-SNAPSHOT
miaosha-admin-api
+
+
+
+
+ org.projectlombok
+ lombok
+ 1.18.2
+ provided
+
+
+
+ com.geekq
+ miaosha-common
+ 0.0.1-SNAPSHOT
+
+
+
\ No newline at end of file
diff --git a/miaosha-admin/miaosha-admin-api/src/main/java/com/geekq/order/service/MiaoShaUserService.java b/miaosha-admin/miaosha-admin-api/src/main/java/com/geekq/order/service/MiaoShaUserService.java
new file mode 100644
index 0000000..8d98260
--- /dev/null
+++ b/miaosha-admin/miaosha-admin-api/src/main/java/com/geekq/order/service/MiaoShaUserService.java
@@ -0,0 +1,48 @@
+package com.geekq.order.service;
+
+import com.geekq.common.entity.MiaoshaUser;
+
+import java.util.List;
+import java.util.Map;
+
+public interface MiaoShaUserService {
+
+ /**
+ * 注册
+ * @param username
+ * @param password
+ */
+ void register(String username, String password);
+
+ /**
+ * 检查是否有重复的用户名
+ */
+ boolean checkUsername(String name, int userType);
+
+ /**
+ * 用户登陆
+ * @param name
+ * @param password
+ * @return
+ */
+ MiaoshaUser login(String name, String password, int userType, String ip);
+
+ /**
+ * 是否有管理员
+ * @return
+ */
+ boolean hasAdmin();
+
+ /**
+ * 创建默认的管理员
+ */
+ void createDefaultAdmin();
+
+ /**
+ * 查询用户的id和name
+ * @param word
+ * @param userType
+ * @return
+ */
+ List