App stand-alone Web interface description



Download 0,49 Mb.
bet2/7
Sana12.06.2022
Hajmi0,49 Mb.
#659318
1   2   3   4   5   6   7
Bog'liq
APK-API Android(4)

Encryption


Since the stand-alone version is a local area network, except for login authentication, other communication messages will not be encrypted for the time being. However, all interfaces except the login interface need to add the token parameter in the request header (header). For details, please refer to the login management platform interface.


1.3 The response format


The unified return format of the interface is:
{
"success":true,
"code":0,
"desc":"成功",
"data":{},
}

Field name

type

Description

success

Boolean

true Indicates that the request was successful, false Indicates that the request failed

code

Int

Error code, see for details Error code description

desc

String

Error prompt, check the error code description for details

data

Object

It may be an object or an array, When success is false, it may be null



  1. log in

2.1 Log in to the management platform


POST: /api/admin/login
Request parameter: x-www-form-urlencoded

parameter name

type

remark

password

String

Administrator password



















Note: The password needs to be salted encryption (tentatively YT) and then MD5, for example, the password is 123456

  1. salted encryption 123456YT

  2. MD5 the salted string to get the ciphertext 6cffc03a4295e711d0e9af2328f05a44

For example: 6cffc03a4295e711d0e9af2328f05a44= MD5(123456YT)



Download 0,49 Mb.

Do'stlaringiz bilan baham:
1   2   3   4   5   6   7




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish