장수일람 API 생성

This commit is contained in:
2019-05-04 18:33:09 +09:00
parent 1d7bf20f96
commit b3fb20df58
4 changed files with 141 additions and 14 deletions
+10 -1
View File
@@ -50,7 +50,16 @@ foreach (SpecialityConst::WAR as $id=>$values) {
$specialAll['-'] = '없음';
echo Json::encode($specialAll);
?>
;
;
var characterInfo =
<?php
$characterAll = [];
foreach(getCharacterList() as $id=>[$name, $info]){
$characterAll[$name] = $info;
}
echo Json::encode($characterAll);
?>
;
</script>
<?=WebUtil::printJS('../d_shared/common_path.js')?>