{"swagger":"2.0","info":{"description":"Creator by tianjianlong","version":"1.0.0","title":"\u8f6e\u56de\u7cfb\u7edfAPI\u63a5\u53e3\u7ba1\u7406","termsOfService":"http:\/\/ilunhui.cn\/","contact":{"email":"864491238@qq.com"}},"host":"localhost:81","basePath":"","tags":[{"name":"ad","description":"\u5e7f\u544a"},{"name":"article","description":"\u6587\u7ae0"},{"name":"user","description":"\u7528\u6237\u4e2d\u5fc3"}],"schemes":["http"],"paths":{"list":[],"\/api\/ad\/list":{"get":{"tags":["ad"],"summary":"\u5e7f\u544a\u5217\u8868","description":"","operationId":"list","produces":["application\/json"],"parameters":[{"name":"position","in":"query","required":true,"description":"\u5e7f\u544a\u4f4d\n\t ","type":"integer"}]}},"\/api\/article\/list":{"get":{"tags":["article"],"summary":"\u6587\u7ae0\u5217\u8868","description":"","operationId":"list","produces":["application\/json"],"parameters":[{"name":"rows","in":"query","required":true,"description":"\u5f53\u524d\u9875\n\t ","type":"integer"},{"name":"pagesize","in":"query","required":true,"description":"\u6bcf\u9875\u663e\u793a\u6570\u636e\n\t ","type":"integer"}]}},"login":[],"\/api\/user\/login":{"post":{"tags":["user"],"summary":"\u767b\u9646","description":"","operationId":"login","produces":["application\/json"],"parameters":[{"name":"account","in":"formData","required":true,"description":"\u624b\u673a\u53f7\n\t ","type":"string"},{"name":"password","in":"formData","required":true,"description":"\u5bc6\u7801\n\t ","type":"string"}]}},"register":[],"\/api\/user\/register":{"post":{"tags":["user"],"summary":"\u6ce8\u518c","description":"","operationId":"register","produces":["application\/json"],"parameters":[{"name":"account","in":"formData","required":true,"description":"\u624b\u673a\u53f7\n\t ","type":"string"},{"name":"nickname","in":"formData","required":true,"description":"\u6635\u79f0\n\t ","type":"string"},{"name":"password","in":"formData","required":true,"description":"\u5bc6\u7801\n\t ","type":"string"},{"name":"head_img","in":"formData","required":true,"description":"\u5934\u50cf\n\t ","type":"string"}]}},"getUserInfo":[],"\/api\/user\/getUserInfo":{"get":{"tags":["user"],"summary":"\u6839\u636etoken\u83b7\u53d6\u7528\u6237\u4fe1\u606f","description":"","operationId":"getUserInfo","produces":["application\/json"],"parameters":[{"name":"id","in":"query","required":true,"description":"\u7528\u6237id\n\t ","type":"integer"}]}},"getAllUserInfos":[],"\/api\/user\/getAllUserInfos":{"get":{"tags":["user"],"summary":"\u83b7\u53d6\u4f1a\u8bdd\u7528\u6237\u4fe1\u606f","description":"","operationId":"getAllUserInfos","produces":["application\/json"],"parameters":[{"name":"userids","in":"query","required":true,"description":"\u7528\u6237id\n\t ","type":"integer"}]}},"getUser":[],"\/api\/user\/getUser":{"get":{"tags":["user"],"summary":"\u83b7\u53d6\u6240\u6709\u7528\u6237\u4fe1\u606f","description":"","operationId":"getUser","produces":["application\/json"],"parameters":[{"name":"userid","in":"query","required":true,"description":"\u7528\u6237id\n\t ","type":"string"}]}},"editphone":[],"\/api\/user\/editphone":{"post":{"tags":["user"],"summary":"\u4fee\u6539\u624b\u673a\u53f7","description":"","operationId":"editphone","produces":["application\/json"],"parameters":[{"name":"id","in":"formData","required":true,"description":"\u7528\u6237id\n\t ","type":"integer"},{"name":"phone","in":"formData","required":true,"description":"\u624b\u673a\u53f7\n\t ","type":"string"}]}},"editpwd":[],"\/api\/user\/editpwd":{"post":{"tags":["user"],"summary":"\u4fee\u6539\u5bc6\u7801","description":"","operationId":"editpwd","produces":["application\/json"],"parameters":[{"name":"id","in":"formData","required":true,"description":"\u7528\u6237id\n\t ","type":"integer"},{"name":"oldpwd","in":"formData","required":true,"description":"\u65e7\u5bc6\u7801\n\t ","type":"string"},{"name":"oldpwd","in":"formData","required":true,"description":"\u65b0\u5bc6\u7801\n\t ","type":"string"}]}}},"securityDefinitions":[],"definitions":[]}