OSS统一上传接口配置
This commit is contained in:
parent
f0ef10a448
commit
110c355268
|
@ -1,10 +1,2 @@
|
|||
### aliyun oss ###
|
||||
aliyun.oss.endpoint=oss-cn-shanghai.aliyuncs.com
|
||||
aliyun.oss.endpoint.internal=oss-cn-shanghai-internal.aliyuncs.com
|
||||
aliyun.oss.accessKeyId=
|
||||
aliyun.oss.accessKeySecret=
|
||||
aliyun.oss.bucketName=shuzheng
|
||||
aliyun.oss.policy.expire=300
|
||||
aliyun.oss.maxSize=10
|
||||
aliyun.oss.callback=http://shuzheng.tunnel.qydev.com/aliyun/oss/callback
|
||||
### aliyun ###
|
||||
aliyun.oss.policy=http://oss.zhangshuzheng.cn:7771/aliyun/oss/policy
|
|
@ -74,7 +74,6 @@ public class DemoController extends BaseController {
|
|||
JSONObject policy = aliyunOssService.policy();
|
||||
_log.info("policy={}", policy);
|
||||
model.addAttribute("policy", policy);
|
||||
model.addAttribute("policy", policy);
|
||||
return thymeleaf("/aliyun/upload");
|
||||
}
|
||||
|
||||
|
|
|
@ -1,10 +1,2 @@
|
|||
### aliyun oss ###
|
||||
aliyun.oss.endpoint=oss-cn-shanghai.aliyuncs.com
|
||||
aliyun.oss.endpoint.internal=oss-cn-shanghai-internal.aliyuncs.com
|
||||
aliyun.oss.accessKeyId=
|
||||
aliyun.oss.accessKeySecret=
|
||||
aliyun.oss.bucketName=shuzheng
|
||||
aliyun.oss.policy.expire=300
|
||||
aliyun.oss.maxSize=10
|
||||
aliyun.oss.callback=http://shuzheng.tunnel.qydev.com/aliyun/oss/callback
|
||||
### aliyun ###
|
||||
aliyun.oss.policy=http://oss.zhangshuzheng.cn:7771/aliyun/oss/policy
|
|
@ -1,10 +1,2 @@
|
|||
### aliyun oss ###
|
||||
aliyun.oss.endpoint=oss-cn-shanghai.aliyuncs.com
|
||||
aliyun.oss.endpoint.internal=oss-cn-shanghai-internal.aliyuncs.com
|
||||
aliyun.oss.accessKeyId=
|
||||
aliyun.oss.accessKeySecret=
|
||||
aliyun.oss.bucketName=shuzheng
|
||||
aliyun.oss.policy.expire=300
|
||||
aliyun.oss.maxSize=10
|
||||
aliyun.oss.callback=http://shuzheng.tunnel.qydev.com/aliyun/oss/callback
|
||||
### aliyun ###
|
||||
aliyun.oss.policy=http://oss.zhangshuzheng.cn:7771/aliyun/oss/policy
|
Loading…
Reference in New Issue