...
|
...
|
@@ -158,11 +158,12 @@ class AdminModel extends global.yoho.BaseModel { |
|
|
* @param createTime
|
|
|
* @returns {Promise.<*>}
|
|
|
*/
|
|
|
async createY100Article(actId, articleId, imageUrl, index, name, tag, style, career, skns, createTime) {
|
|
|
async createY100Article(actId, articleId, imageUrl, index, name, tag, style, career, interest, skns, createTime) {
|
|
|
let strSQL = `INSERT INTO ${TB_ACT_ARTICLE_Y100}
|
|
|
(act_id, article_id, img_url, \`index\`, name, tag, style, career, skns, create_time)
|
|
|
(act_id, article_id, img_url, \`index\`, name, tag, style, career, interest, skns, create_time)
|
|
|
VALUES
|
|
|
(:actId, :articleId, :imageUrl, :index, :name, :tag, :style, :career, :skns, :createTime);`;
|
|
|
(:actId, :articleId, :imageUrl, :index, :name, :tag, :style, :career, :interest, :skns,
|
|
|
:createTime);`;
|
|
|
|
|
|
console.log(strSQL, {actId, articleId, imageUrl, index, name, tag, style, career, skns, createTime});
|
|
|
|
...
|
...
|
@@ -175,6 +176,7 @@ class AdminModel extends global.yoho.BaseModel { |
|
|
tag,
|
|
|
style,
|
|
|
career,
|
|
|
interest,
|
|
|
skns,
|
|
|
createTime
|
|
|
});
|
...
|
...
|
|