|
@@ -107,7 +107,7 @@ func init() {
|
|
|
}
|
|
|
|
|
|
func RegisterCalculateWorkDayApi() {
|
|
|
- http.HandleFunc("/api/getWorkDay", func(w http.ResponseWriter, r *http.Request) {
|
|
|
+ http.HandleFunc("/api/admin/getWorkDay", func(w http.ResponseWriter, r *http.Request) {
|
|
|
mData, err := func() (interface{}, error) {
|
|
|
reqBytes, _ := io.ReadAll(r.Body)
|
|
|
if len(reqBytes) == 0 {
|