diff --git a/.idea/APIJSON.iml b/.idea/APIJSON.iml
new file mode 100644
index 000000000..d6ebd4805
--- /dev/null
+++ b/.idea/APIJSON.iml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100644
index 000000000..8853eb5f9
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 000000000..35eb1ddfb
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
new file mode 100644
index 000000000..19f416fa9
--- /dev/null
+++ b/.idea/workspace.xml
@@ -0,0 +1,252 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ true
+ DEFINITION_ORDER
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1510972163442
+
+
+ 1510972163442
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1.8
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/APIJSON-Java-Server/APIJSON-Idea/src/main/java/apijson/demo/server/model/NetsbdNews.java b/APIJSON-Java-Server/APIJSON-Idea/src/main/java/apijson/demo/server/model/NetsbdNews.java
new file mode 100644
index 000000000..4200cde5e
--- /dev/null
+++ b/APIJSON-Java-Server/APIJSON-Idea/src/main/java/apijson/demo/server/model/NetsbdNews.java
@@ -0,0 +1,146 @@
+/*Copyright ©2016 TommyLemon(https://github.com/TommyLemon/APIJSON)
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.*/
+
+package apijson.demo.server.model;
+
+import zuo.biao.apijson.MethodAccess;
+
+import static zuo.biao.apijson.RequestRole.ADMIN;
+import static zuo.biao.apijson.RequestRole.UNKNOWN;
+
+/**用户类
+ * @author Lemon
+ * @see
+ *
POST:post/register/user
+{
+ "User":{
+ "disallow":"id",
+ "necessary":"name,phone"
+ },
+ "necessary":"loginPassword,verify"
+}
+ *
+ *
PUT:
+{
+ "User":{
+ "disallow":"phone",
+ "necessary":"id"
+ }
+}
+ *
+ *
PUT(User.phone):put/user/phone
+{
+ "User":{
+ "disallow":"!",
+ "necessary":"id,phone"
+ },
+ "necessary":"loginPassword,verify"
+}
+ *
+ */
+@MethodAccess(
+ GET = {UNKNOWN},
+ POST = {UNKNOWN, ADMIN},
+ DELETE = {ADMIN}
+ )
+public class NetsbdNews extends BaseModel {
+ private static final long serialVersionUID = 1L;
+
+// public static final int SEX_MAIL = 0;
+// public static final int SEX_FEMALE = 1;
+// public static final int SEX_UNKNOWN = 2;
+
+// private Integer sex; //性别
+// private String head; //头像url
+// private String name; //姓名
+// private String tag; //标签
+// private List pictureList; //照片列表
+// private List contactIdList; //朋友列表
+
+// private Long uid; //对应ims_user表中的uid,外键
+ private Long cid; //对应ims_netsbd_news_category表中的id,外键
+ private Long uid; //对应ims_users表中的id,外键 == 5 (0750kj)
+ private String title;
+ private String content;
+ private String tag;
+ private Integer ishide;
+ private Integer sort;
+
+ public Long getUid() {
+ return uid;
+ }
+
+ public void setUid(Long uid) {
+ this.uid = uid;
+ }
+
+ public Long getCid() {
+ return cid;
+ }
+
+ public void setCid(Long cid) {
+ this.cid = cid;
+ }
+
+ public String getTitle() {
+ return title;
+ }
+
+ public void setTitle(String title) {
+ this.title = title;
+ }
+
+ public String getContent() {
+ return content;
+ }
+
+ public void setContent(String content) {
+ this.content = content;
+ }
+
+ public String getTag() {
+ return tag;
+ }
+
+ public void setTag(String tag) {
+ this.tag = tag;
+ }
+
+ public Integer getIshide() {
+ return ishide;
+ }
+
+ public void setIshide(Integer ishide) {
+ this.ishide = ishide;
+ }
+
+ public Integer getSort() {
+ return sort;
+ }
+
+ public void setSort(Integer sort) {
+ this.sort = sort;
+ }
+
+ /**默认构造方法,JSON等解析时必须要有
+ */
+ public NetsbdNews() {
+ super();
+ }
+ public NetsbdNews(long id) {
+ this();
+ setId(id);
+ }
+
+}
diff --git a/APIJSON-Java-Server/APIJSON-Idea/src/main/java/apijson/demo/server/model/NetsbdNewsCategory.java b/APIJSON-Java-Server/APIJSON-Idea/src/main/java/apijson/demo/server/model/NetsbdNewsCategory.java
new file mode 100644
index 000000000..fc4af63d0
--- /dev/null
+++ b/APIJSON-Java-Server/APIJSON-Idea/src/main/java/apijson/demo/server/model/NetsbdNewsCategory.java
@@ -0,0 +1,119 @@
+/*Copyright ©2016 TommyLemon(https://github.com/TommyLemon/APIJSON)
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.*/
+
+package apijson.demo.server.model;
+
+import zuo.biao.apijson.MethodAccess;
+
+import static zuo.biao.apijson.RequestRole.ADMIN;
+import static zuo.biao.apijson.RequestRole.UNKNOWN;
+
+/**用户类
+ * @author Lemon
+ * @see
+ *
POST:post/register/user
+{
+"User":{
+"disallow":"id",
+"necessary":"name,phone"
+},
+"necessary":"loginPassword,verify"
+}
+ *
+ *
PUT:
+{
+"User":{
+"disallow":"phone",
+"necessary":"id"
+}
+}
+ *
+ *
PUT(User.phone):put/user/phone
+{
+"User":{
+"disallow":"!",
+"necessary":"id,phone"
+},
+"necessary":"loginPassword,verify"
+}
+ *
+ */
+@MethodAccess(
+ GET = {UNKNOWN},
+ POST = {UNKNOWN, ADMIN},
+ DELETE = {ADMIN}
+)
+public class NetsbdNewsCategory extends BaseModel {
+ private static final long serialVersionUID = 1L;
+
+// public static final int SEX_MAIL = 0;
+// public static final int SEX_FEMALE = 1;
+// public static final int SEX_UNKNOWN = 2;
+
+// private Integer sex; //性别
+// private String head; //头像url
+// private String name; //姓名
+// private String tag; //标签
+// private List pictureList; //照片列表
+// private List contactIdList; //朋友列表
+
+ // private Long uid; //对应ims_user表中的uid,外键
+ private Long uid; //对应ims_users表中的id,外键 == 5 (0750kj)
+ private String name;
+ private Integer ishide;
+ private Integer sort;
+
+ public Long getUid() {
+ return uid;
+ }
+
+ public void setUid(Long uid) {
+ this.uid = uid;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public Integer getIshide() {
+ return ishide;
+ }
+
+ public void setIshide(Integer ishide) {
+ this.ishide = ishide;
+ }
+
+ public Integer getSort() {
+ return sort;
+ }
+
+ public void setSort(Integer sort) {
+ this.sort = sort;
+ }
+
+ /**默认构造方法,JSON等解析时必须要有
+ */
+ public NetsbdNewsCategory() {
+ super();
+ }
+ public NetsbdNewsCategory(long id) {
+ this();
+ setId(id);
+ }
+
+}
diff --git a/APIJSON-Java-Server/APIJSON-Idea/src/main/resources/application.properties b/APIJSON-Java-Server/APIJSON-Idea/src/main/resources/application.properties
index e69de29bb..8b1378917 100755
--- a/APIJSON-Java-Server/APIJSON-Idea/src/main/resources/application.properties
+++ b/APIJSON-Java-Server/APIJSON-Idea/src/main/resources/application.properties
@@ -0,0 +1 @@
+