api: 규격 정의

This commit is contained in:
2021-09-12 04:59:34 +09:00
parent 3e2df1d4d8
commit d926e4b8bc
7 changed files with 620 additions and 438 deletions
+1
View File
@@ -54,6 +54,7 @@ class Json
die(Json::encode($value, $flag));
}
/** @return never */
public static function dieWithReason(string $reason){
static::die([
'result'=>false,