This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import WidgetWrapper from '@/components/WidgetWrapper'; | |
import WrapTable from '@/components/WrapTable'; | |
import { useEffect, useState, useMemo, useRef, useCallback } from 'react'; | |
import GridLayout from 'react-grid-layout'; | |
import { | |
Select, Input, Col, Row, Form, Button, Card, | |
Alert, PageHeader, Divider, Checkbox | |
} from 'antd'; | |
import * as widgets from '@/widgets'; | |
import { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from hashlib import md5 | |
import hmac | |
from collections import OrderedDict | |
def get_sign(token, type): | |
appSecret = '828eb89cf2f7b7517e6ec37bb34b34ee' | |
token_string = '' | |
token = OrderedDict(sorted(token.items())) |