Commit 64d39f1d authored by 刘文胜's avatar 刘文胜

1111

parent ae4084b0
......@@ -51,7 +51,7 @@ function createSignature(str){
return signature;
}
exports.sendRequest = function(ent_code, mid, action, messageid, integral, exp) {
exports.sendRequest = function(ent_code, mid, action, messageid, integral, exp,reason) {
/*var obj = {
tag: 'member',
key: 'forum',
......@@ -71,7 +71,10 @@ exports.sendRequest = function(ent_code, mid, action, messageid, integral, exp)
var obj = {
action: ACTION_KEY[action],
mid: mid,
entCode: ent_code
entCode: ent_code,
integral: integral || 0,
exp: exp || 0,
reason:reason || ''
};
//将参数排序
obj.signature=createSignature(paramSort(obj));//接口调用参数签名
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment