|
|
|
@ -1713,7 +1713,7 @@ app.get('/api/suppliers', async (req, res) => { |
|
|
|
|
|
|
|
// 查询供应商列表
|
|
|
|
const [suppliers] = await connection.query( |
|
|
|
`SELECT userId, phoneNumber, province, city, district, detailedaddress, company, collaborationid, cooperation, businesslicenseurl, proofurl, brandurl, partnerstatus, reasonforfailure, reject_reason, terminate_reason, audit_time
|
|
|
|
`SELECT userId, phoneNumber, province, city, district, detailedaddress, company, collaborationid, cooperation, businesslicenseurl, proofurl, brandurl, partnerstatus, reasonforfailure, reject_reason, terminate_reason, audit_time, created_at
|
|
|
|
FROM users${whereClause} |
|
|
|
ORDER BY audit_time DESC LIMIT ? OFFSET ?`,
|
|
|
|
params |
|
|
|
|