Commit 7a5ad887 authored by superman's avatar superman

status undefined show status code

parent 58b5bdd4
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -2,6 +2,6 @@
// - https://github.com/dora-js/dora-plugin-proxy#规则定义
module.exports = {
'/api/*': 'http://react.yanky.cn/',
// '/api/*': 'http://192.168.1.126:8080/'
// '/api/*': 'http://react.yanky.cn/',
'/api/*': 'http://192.168.1.126:8080/'
};
......@@ -55,7 +55,7 @@ export const PRODUCT_STATUS = {
}
export const productStatusToString = status => {
return PRODUCT_STATUS[status] || '未定义';
return PRODUCT_STATUS[status] || '未定义('+ status +')';
};
export const productEnableCreateTrade = status => {
......@@ -68,7 +68,7 @@ export const USER_STATUS = {
};
export const userStatusToString = status => {
return USER_STATUS[status] || '未定义';
return USER_STATUS[status] || '未定义('+ status +')';
};
......@@ -95,7 +95,7 @@ export const tradeStatusToString = status => {
case 33:
return '交易关闭';
default:
return '未定义';
return '未定义('+ status +')';
}
};
......
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