Accept Merge Request #1277: (hotfix/修改agv回调接口授权 -> develop)

Merge Request: 将agv回调接口授权改为none

Created By: @胡尧
Accepted By: @胡尧
URL: https://jikimo-hn.coding.net/p/jikimo_sfs/d/jikimo_sf/git/merge/1277?initial=true
This commit is contained in:
胡尧
2024-08-30 09:46:45 +08:00
committed by Coding

View File

@@ -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):
""" """