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