Repository files navigation
This is Java Web Project for playApp of Android.
获取及刷新AccessToken,完成之后需要在API调用中使用Token进行调用。(先加入Token的话不方便开发时候的测试)
Can receive the parameter in url from client.
Can receive the json data from client.
Can receive the picture(jpg, png, jpeg) from form-data. (unfinished)
Can get data from database. (unfinished)
Response the json to client.
Response picture from database to client. (unfinished)
request way: post
data structure: json
request parameter:
phone: phone to login
password: password to login
eg: {"phone":"12345678901", "password":"111111"}
response parameter:
status: 0 is successful, 1 is fail. 200
msg: error text
data: json object.
request way: post
data structure: json
request parameter:
action: action is 0 if you want to query contacts, is 1 if you want insert data.
phone: phone of login.
contactName: needed when action is 1. The name of insert people.
contactPhone: needed when action is 1. The phone of insert people.
eg: {"action":"0", "phone":"12345678901"}, {"action":"1", "phone":"12345678901", "contactName":"Peter", "contactPhone":"13245678909"}
request way: post
data structure: json
request parameter:
phone:phone to login
password: password to login.
eg: {"phone":"12345678901", "password":"111111"}
response parameter:
statuscode: 0 is successful, 1 is fail.
content: error text
request way: post
data structure: json
request parameter:
name
type
description
account
String
name
type
description
matchcode
String
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
You can’t perform that action at this time.