mirror of
https://github.com/alireza0/x-ui.git
synced 2026-03-14 05:23:09 +00:00
Some fixes and improvements (#1077)
* [refactor] api controller * [update] use status code for jsonMsg and 401 to unauthorize * [update] handle response status code via axios * [lint] all .go files
This commit is contained in:
@@ -25,8 +25,8 @@ func NewSUBController(
|
||||
showInfo bool,
|
||||
rModel string,
|
||||
update string,
|
||||
jsonFragment string) *SUBController {
|
||||
|
||||
jsonFragment string,
|
||||
) *SUBController {
|
||||
a := &SUBController{
|
||||
subPath: subPath,
|
||||
subJsonPath: jsonPath,
|
||||
|
||||
Reference in New Issue
Block a user