Logo
Explore Help
Register Sign In
admin/smt
1
0
Fork 0
You've already forked smt
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
ebca42c34efa9f09ae475f47351f5baac32477ee
smt/api/profile.js
T
nepiedg 0d482e3a1c Update API endpoints and enhance UI components. Changed appid in manifest.json, modified profile and log update methods from PUT to POST in profile.js and smoke.js, respectively. Added new statistics retrieval function in smoke.js and improved the smoke record dialog with updated styles and validation logic. Updated configuration for development environment and refined documentation for health recovery and savings calculations.
2026-01-26 22:16:20 +08:00

10 lines
194 B
JavaScript
Raw Blame History

import { request } from './request'
export function getProfile() {
return request.get('/smoke/profile')
}
export function updateProfile(data) {
return request.post('/smoke/profile', data)
}
Reference in New Issue View Git Blame Copy Permalink
Powered by Gitea Version: 1.26.1 Page: 32ms Template: 4ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API