|
@@ -33,7 +33,6 @@ class WechatModel extends global.yoho.BaseModel { |
|
@@ -33,7 +33,6 @@ class WechatModel extends global.yoho.BaseModel { |
33
|
(access_token, access_ticket, access_create_time, access_expired) values
|
33
|
(access_token, access_ticket, access_create_time, access_expired) values
|
34
|
(:access_token, :access_ticket, :access_create_time, :access_expired);`;
|
34
|
(:access_token, :access_ticket, :access_create_time, :access_expired);`;
|
35
|
|
35
|
|
36
|
- console.log(strSql, params);
|
|
|
37
|
return mysqlCli.insert(strSql, params);
|
36
|
return mysqlCli.insert(strSql, params);
|
38
|
} else if (type === 'update') {
|
37
|
} else if (type === 'update') {
|
39
|
strSql = `update ${TABLE_WECHAT} set
|
38
|
strSql = `update ${TABLE_WECHAT} set
|
|
@@ -42,7 +41,6 @@ class WechatModel extends global.yoho.BaseModel { |
|
@@ -42,7 +41,6 @@ class WechatModel extends global.yoho.BaseModel { |
42
|
access_create_time = :access_create_time,
|
41
|
access_create_time = :access_create_time,
|
43
|
access_expired = :access_expired`;
|
42
|
access_expired = :access_expired`;
|
44
|
|
43
|
|
45
|
- console.log(strSql);
|
|
|
46
|
return mysqlCli.update(strSql, params);
|
44
|
return mysqlCli.update(strSql, params);
|
47
|
}
|
45
|
}
|
48
|
|
46
|
|