-
Notifications
You must be signed in to change notification settings - Fork 329
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
updateMatieral有错 #55
Comments
now i pretty sure this is a bug for updateMaterial function. is it you want to do this? |
please report the api doc address. thank you. |
/lib/api_material.js line at 212 and 219 |
@vectorZou 可以自己提一个pr学习一下,还有英文要加强哟 make(exports, 'updateNewsMaterial', function (news, callback) {
var url = this.prefix + 'material/update_news?access_token=' + this.token.accessToken;
this.request(url, postJSON(news), wrapper(callback));
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
exports.updateNewsMaterial = function (news, callback) {
this.preRequest(this._uploadNewsMaterial, arguments);
};
/*!
*/
// 这里的地址有错/add_news?access_token应该是update_news吧
exports._updateNewsMaterial = function (news, callback) {
var url = this.prefix + 'material/add_news?access_token=' + this.token.accessToken;
this.request(url, postJSON(news), wrapper(callback));
};
The text was updated successfully, but these errors were encountered: