| | |
| | | import cn.com.basic.face.util.FileUtil;
|
| | |
|
| | | /**
|
| | | * Created by Administrator on 2017/7/27 0027.
|
| | | * Created by SJW on 2017/7/27 0027.
|
| | | */
|
| | |
|
| | | public class RegisterFileUpSync extends BaseSync {
|
| | |
|
| | | /**
|
| | | *offline_surveillance表向上同步
|
| | | *registere表向上同步
|
| | | */
|
| | | @Override
|
| | | public void doSync() {
|
| | | try{
|
| | | final File file = FileUtil.getPhotoFile();
|
| | | final String tableName = "offline_surveillance";
|
| | | final String tableName = "register";
|
| | | RequestParams params = new RequestParams(AppApi.BASE_URL + AppApi.FILE_SYNCHRON);
|
| | | params.addBodyParameter("tableName", tableName);
|
| | | params.addBodyParameter("file", file);
|