-
Notifications
You must be signed in to change notification settings - Fork 191
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
Feature/pfop #98
Conversation
function pfop(bucket, key, fops, opts, onret) { | ||
|
||
opts = opts || {}; | ||
var notifyStr = '¬ifyURL=' + opts.notifyURL || ''; |
There was a problem hiding this comment.
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'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
为什么这里填了一个不存在的网址? 填空字符串不行么?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
因为服务端会对notifyURL做简单的检测
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
不填,没有这一项 不行?
LGTM |
增加pfop的函数