@@ -1814,6 +1814,7 @@ <h1 class="text-3xl font-extrabold text-center text-gray-800 mb-4">
1814
1814
< option value ="smms " selected > SM.MS</ option >
1815
1815
< option value ="picgo "> PicGo</ option >
1816
1816
< option value ="cloudflare_imgbed "> Cloudflare</ option >
1817
+ < option value ="aliyun_oss "> 阿里云OSS</ option >
1817
1818
</ select >
1818
1819
< small class ="text-gray-500 mt-1 block "> 图片上传服务提供商</ small >
1819
1820
</ div >
@@ -1921,6 +1922,109 @@ <h1 class="text-3xl font-extrabold text-center text-gray-800 mb-4">
1921
1922
> Cloudflare图床的上传文件夹路径(可选)</ small
1922
1923
>
1923
1924
</ div >
1925
+
1926
+ <!-- 阿里云OSS配置 -->
1927
+ <!-- OSS Endpoint -->
1928
+ < div class ="mb-6 provider-config " data-provider ="aliyun_oss ">
1929
+ < label
1930
+ for ="OSS_ENDPOINT "
1931
+ class ="block font-semibold mb-2 text-gray-700 "
1932
+ > OSS Endpoint</ label
1933
+ >
1934
+ < input
1935
+ type ="text "
1936
+ id ="OSS_ENDPOINT "
1937
+ name ="OSS_ENDPOINT "
1938
+ placeholder ="oss-cn-shanghai.aliyuncs.com "
1939
+ class ="w-full px-4 py-3 rounded-lg form-input-themed "
1940
+ />
1941
+ < small class ="text-gray-500 mt-1 block "> 阿里云OSS的Endpoint地址</ small >
1942
+ </ div >
1943
+
1944
+ <!-- OSS Access Key -->
1945
+ < div class ="mb-6 provider-config " data-provider ="aliyun_oss ">
1946
+ < label
1947
+ for ="OSS_ACCESS_KEY "
1948
+ class ="block font-semibold mb-2 text-gray-700 "
1949
+ > OSS Access Key</ label
1950
+ >
1951
+ < input
1952
+ type ="text "
1953
+ id ="OSS_ACCESS_KEY "
1954
+ name ="OSS_ACCESS_KEY "
1955
+ placeholder ="LTAI5txxxxxxxxxx "
1956
+ class ="w-full px-4 py-3 rounded-lg sensitive-input form-input-themed "
1957
+ />
1958
+ < small class ="text-gray-500 mt-1 block "> 阿里云OSS的Access Key ID</ small >
1959
+ </ div >
1960
+
1961
+ <!-- OSS Access Key Secret -->
1962
+ < div class ="mb-6 provider-config " data-provider ="aliyun_oss ">
1963
+ < label
1964
+ for ="OSS_ACCESS_KEY_SECRET "
1965
+ class ="block font-semibold mb-2 text-gray-700 "
1966
+ > OSS Access Key Secret</ label
1967
+ >
1968
+ < input
1969
+ type ="password "
1970
+ id ="OSS_ACCESS_KEY_SECRET "
1971
+ name ="OSS_ACCESS_KEY_SECRET "
1972
+ placeholder ="yXxxxxxxxxxxxx "
1973
+ class ="w-full px-4 py-3 rounded-lg sensitive-input form-input-themed "
1974
+ />
1975
+ < small class ="text-gray-500 mt-1 block "> 阿里云OSS的Access Key Secret</ small >
1976
+ </ div >
1977
+
1978
+ <!-- OSS Bucket Name -->
1979
+ < div class ="mb-6 provider-config " data-provider ="aliyun_oss ">
1980
+ < label
1981
+ for ="OSS_BUCKET_NAME "
1982
+ class ="block font-semibold mb-2 text-gray-700 "
1983
+ > OSS Bucket名称</ label
1984
+ >
1985
+ < input
1986
+ type ="text "
1987
+ id ="OSS_BUCKET_NAME "
1988
+ name ="OSS_BUCKET_NAME "
1989
+ placeholder ="your-bucket-name "
1990
+ class ="w-full px-4 py-3 rounded-lg form-input-themed "
1991
+ />
1992
+ < small class ="text-gray-500 mt-1 block "> 阿里云OSS的Bucket名称</ small >
1993
+ </ div >
1994
+
1995
+ <!-- OSS Region -->
1996
+ < div class ="mb-6 provider-config " data-provider ="aliyun_oss ">
1997
+ < label
1998
+ for ="OSS_REGION "
1999
+ class ="block font-semibold mb-2 text-gray-700 "
2000
+ > OSS Region</ label
2001
+ >
2002
+ < input
2003
+ type ="text "
2004
+ id ="OSS_REGION "
2005
+ name ="OSS_REGION "
2006
+ placeholder ="cn-shanghai "
2007
+ class ="w-full px-4 py-3 rounded-lg form-input-themed "
2008
+ />
2009
+ < small class ="text-gray-500 mt-1 block "> 阿里云OSS的Region区域</ small >
2010
+ </ div >
2011
+
2012
+ <!-- OSS Internal Endpoint (可选) -->
2013
+ < div class ="mb-6 provider-config " data-provider ="aliyun_oss ">
2014
+ < label
2015
+ for ="OSS_ENDPOINT_INNER "
2016
+ class ="block font-semibold mb-2 text-gray-700 "
2017
+ > OSS内网Endpoint(可选)</ label
2018
+ >
2019
+ < input
2020
+ type ="text "
2021
+ id ="OSS_ENDPOINT_INNER "
2022
+ name ="OSS_ENDPOINT_INNER "
2023
+ placeholder ="oss-cn-shanghai-internal.aliyuncs.com "
2024
+ class ="w-full px-4 py-3 rounded-lg form-input-themed "
2025
+ />
2026
+ < small class ="text-gray-500 mt-1 block "> 阿里云OSS的内网Endpoint地址(可选)</ small >
2027
+ </ div >
1924
2028
</ div >
1925
2029
1926
2030
<!-- 流式输出优化配置 -->
0 commit comments