File was renamed from VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/service/sync/up/OfflineSurveillanceFileUpSync.java |
| | |
| | | * Created by SJW on 2017/7/27 0027.
|
| | | */
|
| | |
|
| | | public class OfflineSurveillanceFileUpSync extends BaseSync {
|
| | | public class FileUpSync extends BaseSync {
|
| | | /**
|
| | | *offline_surveillance表向上同步
|
| | | */
|
| | |
| | | final File file = FileUtil.getPhotoFile();
|
| | | final String tableName = "offline_surveillance";
|
| | | RequestParams params = new RequestParams(AppApi.BASE_URL + AppApi.FILE_SYNCHRON);
|
| | | params.addBodyParameter("tableName", tableName);
|
| | | params.addBodyParameter("file", file);
|
| | | x.http().post(params, new BaseCommonCallBack() {
|
| | | public void success() {
|