修改上传配置

This commit is contained in:
kehaoyuan@ghzhushou.com
2020-02-25 18:36:50 +08:00
parent 6cff45eada
commit 7151cba40e
2 changed files with 2 additions and 2 deletions

View File

@ -131,7 +131,7 @@ class PersonalFunctionAdapter(val context: Context, val groupName: String, val m
}
"视频投稿" -> {
if (UserManager.getInstance().isLoggedIn) {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT_WATCH) {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT_WATCH || BuildConfig.DEBUG) {
context.startActivity(VideoManagerActivity.getIntent(context, "", "我的光环-视频投稿"))
} else {
DialogUtils.showAlertDialog(context, "提示",

View File

@ -1960,7 +1960,7 @@ public interface ApiService {
/**
* 获取阿里云上传配置
*/
@GET("sts/oss?type=game_video")
@GET("sts/oss?type=video_unpacked")
Single<OssEntity> getOssUpdateConfig();
/**