Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/pfop #98

Merged
merged 5 commits into from
Mar 26, 2014
Merged

Feature/pfop #98

merged 5 commits into from
Mar 26, 2014

Conversation

lintianzhi
Copy link
Contributor

增加pfop的函数

function pfop(bucket, key, fops, opts, onret) {

opts = opts || {};
var notifyStr = '&notifyURL=' + opts.notifyURL || '';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个要达到什么效果? + 优先级高于 ||

if (opts.notifyURL) {
param.notifyURL = opts.notifyURL;
} else {
param.notifyURL = 'www.test.com';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

为什么这里填了一个不存在的网址? 填空字符串不行么?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

因为服务端会对notifyURL做简单的检测

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不填,没有这一项 不行?

@longbai
Copy link
Contributor

longbai commented Mar 26, 2014

LGTM

longbai added a commit that referenced this pull request Mar 26, 2014
@longbai longbai merged commit fabd6e4 into qiniu:develop Mar 26, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants