Authored by 邱骏

去掉log

... ... @@ -58,7 +58,7 @@ let calcSigature = function(ticket_res, res) { // 计算signature
let url = ticket_res.url;
let str = `jsapi_ticket=${ticket}&noncestr=${nonceStr}&timestamp=${timestamp}&url=${url}`;
let signature = sha1(str);
let result = {
appId: appID,
nonceStr,
... ...
... ... @@ -33,7 +33,6 @@ class WechatModel extends global.yoho.BaseModel {
(access_token, access_ticket, access_create_time, access_expired) values
(:access_token, :access_ticket, :access_create_time, :access_expired);`;
console.log(strSql, params);
return mysqlCli.insert(strSql, params);
} else if (type === 'update') {
strSql = `update ${TABLE_WECHAT} set
... ... @@ -42,7 +41,6 @@ class WechatModel extends global.yoho.BaseModel {
access_create_time = :access_create_time,
access_expired = :access_expired`;
console.log(strSql);
return mysqlCli.update(strSql, params);
}
... ...