将agv回调接口授权改为none

This commit is contained in:
胡尧
2024-08-30 09:35:08 +08:00
parent cae5e14587
commit a82c0388c9

View File

@@ -8,7 +8,7 @@ from odoo.http import request
class Workpiece(http.Controller):
@http.route('/agvApi/backfeed', type='json', auth='sf_token', methods=['GET', 'POST'], csrf=False,
@http.route('/agvApi/backfeed', type='json', auth='none', methods=['GET', 'POST'], csrf=False,
cors="*")
def backfeed(self, **kw):
"""