ahc.post(this,path,params,new TextHttpResponseHandler() {
@Override
public void onFailure(int i, org.apache.http.Header[] headers, String s, Throwable throwable) {
Toast.makeText(OutStoreActivity.this,"上传数据失败",Toast.LENGTH_SHORT);
}
@Override
public void onSuccess(int i, org.apache.http.Header[] headers, String s) {
//接受到后台数据后的操作
Log.i("接收的数据", s);
update();
}
});