File was renamed from VisitFace/DemoForBsk/app/src/main/java/com/bsk/zhangbo/demoforbsk/service/PersonMng.java |
| | |
| | | * Created by xiuxi on 2017/3/23.
|
| | | */
|
| | |
|
| | | public class PersonMng extends BaseMng {
|
| | | public class RegisterMng extends BaseMng {
|
| | |
|
| | | public static PersonMng instance = new PersonMng();
|
| | | public static RegisterMng instance = new RegisterMng();
|
| | |
|
| | | public static PersonMng getInstance() {
|
| | | public static RegisterMng getInstance() {
|
| | | return instance;
|
| | | }
|
| | |
|
| | |
| | | FileWriter fw2 = new FileWriter(f2);
|
| | | fw2.write("test2");
|
| | | fw2.close();
|
| | | params.setUri(AppApi.BASEURL+AppApi.PERSON_REGISTER);
|
| | | params.setUri(AppApi.BASEURL+AppApi.REGISTER_ADD);
|
| | | params.addBodyParameter("file1", f1);
|
| | | params.addBodyParameter("file2", f2);
|
| | | x.http().post(params, new BaseCommonCallBack() {
|