修改agv相关接口请求授权用户

This commit is contained in:
胡尧
2024-08-29 20:20:39 +08:00
parent 4a14fa6bf6
commit 5121e455d2
2 changed files with 4 additions and 4 deletions

View File

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