在调用方法结束后返回该字典信息.

return {
    'warning': {
        'title': '产品不存在',
        'message': '产品不存在,产品编码:{}'.format(barcode)
    }}

相关文章: