Skip to content

I321065/JFinal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

softwares: tomcat mysql navicat--mysql UI idea

framework:JFinal

API: rootPath: host:8080/ironman

get the public key:{rootPath}/publicKey return { publicKey: }

locate to login page: {rootPath}/login args:{ username:xxx, password:xxx, publicKey:xxx }

 return:{
    data:{
       username:xxx
       token:xxx      
    }
    errorNum:xxx
    errorMsg:xxx
 }

locate the index page: {rootPath}/index

create a new user: {rootPath}/register args:{ username:xxx, password:xxx }

create a new article: {rootPath}/article/save args:{ title:xxx, content:xxx }

list all articles: {rootPath}/article/all args:{

 }

list all articles that the argument is user's userId: {rootPath}/article/userId args:{ articleUserId:xxx }

delete a article:{rootPath}/article/delete args:{ articleId:1 }

add a comment for a article:{rootPath}/article/comment args:{ articleId:1 userId:xxx (I can get this value from seesion after we open the login function commentOverall:[0,1,2] //good is 1, bad is 2, default is 0
}

data returned format: { data:{ xxxx; xxxx; ....
},

   errorNum:0,
   
   errorMsg:""
     
}

About

A project using JFinal framwork

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages