mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-21 21:48:42 +00:00
refactor: move submission_status_detail.php into api folder
This commit is contained in:
parent
ae1d798795
commit
52ad8256d2
@ -7,6 +7,8 @@ call_user_func(function () { // to prevent variable scope leak
|
||||
],
|
||||
function () {
|
||||
Route::post("/api/remote_judge/custom_account_validator", '/subdomain/api/remote_judge/custom_account_validator.php');
|
||||
|
||||
Route::any('/api/submission/submission_status_details', '/subdomain/api/submission/submission_status_details.php');
|
||||
}
|
||||
);
|
||||
});
|
||||
|
@ -54,7 +54,6 @@ Route::group(
|
||||
|
||||
Route::any('/submissions', '/submissions_list.php');
|
||||
Route::any('/submission/{id}', '/submission.php');
|
||||
Route::any('/submission-status-details', '/submission_status_details.php');
|
||||
|
||||
Route::any('/hacks', '/hack_list.php');
|
||||
Route::any('/hack/{id}', '/hack.php');
|
||||
|
@ -403,8 +403,8 @@ function update_judgement_status_details(id) {
|
||||
|
||||
$(document).ready(function() {
|
||||
function update() {
|
||||
$.get("/submission-status-details", {
|
||||
get: update_judgement_status_list
|
||||
$.get("/api/submission/submission_status_details", {
|
||||
get: update_judgement_status_list,
|
||||
},
|
||||
function(data) {
|
||||
for (var i = 0; i < update_judgement_status_list.length; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user