将agv回调接口授权改为none
This commit is contained in:
@@ -8,7 +8,7 @@ from odoo.http import request
|
|||||||
|
|
||||||
class Workpiece(http.Controller):
|
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="*")
|
cors="*")
|
||||||
def backfeed(self, **kw):
|
def backfeed(self, **kw):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user