C# 知道ACCESS_KEY和SECRET_KEY 后,不能获取policy
Config.ACCESS_KEY = ConfigurationManager.AppSettings["ACCESS_KEY"];
Config.SECRET_KEY = ConfigurationManager.AppSettings["SECRET_KEY"];
string bucket = ConfigurationManager.AppSettings["QINIU_NAME"];
var policy = new PutPolicy(bucket, 3600);
string upToken = policy.Token();
我设置bucket 为空间名称,但是不能获取policy ,内容都为null,后面操作不下去。
请问需要做什么处理吗
传说D萌派
9 years, 2 months ago