1
This commit is contained in:
@@ -1,32 +1,12 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
# !参考 \addons\auth_oauth\controllers\main.py
|
||||
|
||||
import base64
|
||||
import functools
|
||||
import json
|
||||
import logging
|
||||
import os
|
||||
|
||||
import werkzeug.urls
|
||||
import werkzeug.utils
|
||||
from werkzeug.exceptions import BadRequest
|
||||
|
||||
from odoo import api, http, SUPERUSER_ID, _
|
||||
from odoo.exceptions import AccessDenied
|
||||
from odoo.http import request, Response
|
||||
from odoo import registry as registry_get
|
||||
from odoo.tools.misc import clean_context
|
||||
|
||||
from odoo.addons.auth_signup.controllers.main import AuthSignupHome as Home # type: ignore
|
||||
from odoo.addons.auth_oauth.controllers.main import OAuthController # type: ignore
|
||||
from odoo.addons.web.controllers.utils import ensure_db, _get_login_redirect_url # type: ignore
|
||||
from odoo.addons.wecom_api.api.wecom_abstract_api import ApiException # type: ignore
|
||||
from odoo import http
|
||||
|
||||
|
||||
class Home(http.Controller):
|
||||
@http.route('/WW_verify_fC7AX158Ffby8Ed1.txt', type='http', auth="public")
|
||||
def WW_verify_UP42BAWNwtWK60RH(self):
|
||||
return 'fC7AX158Ffby8Ed1'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user