|
@@ -182,7 +182,7 @@ public class FiledUpload {
|
|
|
|
|
|
});
|
|
|
|
|
|
- String path_prefix = resourcePrefix+"/android/"+mPrefix+"/"+ RxTimeTool.getYestoryDate("yyyyMMd")+"/";
|
|
|
+ String path_prefix = resourcePrefix+"/android/"+mPrefix+"/"+ RxTimeTool.getYestoryDate("yyyyMMdd")+"/";
|
|
|
if (resourceType.equals("tencent")){
|
|
|
if (cosService==null){
|
|
|
|
|
@@ -208,7 +208,7 @@ public class FiledUpload {
|
|
|
*/
|
|
|
public void filedUpload(String localPath,Handler handler,int sort){
|
|
|
String fileName = getFileName(localPath);
|
|
|
- String path_prefix = resourcePrefix+"/android/"+mPrefix+"/"+ RxTimeTool.getYestoryDate("yyyyMMd")+"/";
|
|
|
+ String path_prefix = resourcePrefix+"/android/"+mPrefix+"/"+ RxTimeTool.getYestoryDate("yyyyMMdd")+"/";
|
|
|
if (resourceType.equals("tencent")){
|
|
|
if (cosService==null){
|
|
|
cosService = new CosService(mActivity.getBaseContext(),path_prefix);
|