Commit 35a5cfc7 authored by 高诸锋's avatar 高诸锋

[fix]

parent b6b4af72
Pipeline #6706 passed with stage
in 17 seconds
......@@ -151,7 +151,7 @@ class OrderController extends Controller {
}
const data = await service.order.getOneByOrderId(orderId);
if (data) {
if (data.status === 'success' && (data.appkey === appKey)) {
if (data.status === 'success' && (data.appKey === appKey)) {
const result = await service.storage.read(orderId, appKey);
const ret = service.washData.dealData(result);
ctx.success(ret);
......
......@@ -15,7 +15,7 @@ module.exports = {
cityNameMap.set(String(item.id), item.name);
}
ctx.app.cityNameMap = cityNameMap;
console.log(ctx.app.cityNameMap);
// console.log(ctx.app.cityNameMap);
} catch (e) {
ctx.logger.error(e);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment