|
|
@@ -6,7 +6,7 @@ const buildStatus = require('../const/tender').buildStatus;
|
|
|
module.exports = options => {
|
|
|
return async function weappTenderCheck(ctx, next) {
|
|
|
try {
|
|
|
- const { tenderId } = ctx.query;
|
|
|
+ const tenderId = ctx.request.body.tenderId || ctx.request.query.tenderId;
|
|
|
const accountId = ctx.session.sessionUser.accountId;
|
|
|
// 读取标段数据
|
|
|
const tender = { id: tenderId };
|