...
|
...
|
@@ -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);
|
|
|
}
|
|
|
|
...
|
...
|
|