|
@@ -2,7 +2,7 @@
|
|
|
* @Author: fuyu
|
|
|
* @Date: 2021-03-26 16:38:25
|
|
|
* @LastEditors: fuyu
|
|
|
- * @LastEditTime: 2021-03-30 23:19:48
|
|
|
+ * @LastEditTime: 2021-03-30 23:26:12
|
|
|
* @FilePath: /project/sql_merge/src/service/imagehtml.js
|
|
|
*/
|
|
|
|
|
@@ -10,8 +10,8 @@ import {Images } from '../dao_by_old'
|
|
|
export async function getImageHtml() {
|
|
|
const sum = await Images.count()
|
|
|
const setup0 = await Images.count({where: {image_status: 0}})
|
|
|
- const setup1 = await Images.count({where: {image_status: 0}})
|
|
|
- const setup2 = await Images.count({where: {image_status: 0}})
|
|
|
+ const setup1 = await Images.count({where: {image_status: 1}})
|
|
|
+ const setup2 = await Images.count({where: {image_status: 2}})
|
|
|
const tbody = `
|
|
|
<tr>
|
|
|
<td>${sum}</td>
|