mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-23 08:35:35 +08:00
update to 1.3.0 version totally.
This commit is contained in:
@@ -407,6 +407,6 @@ class ZMRobot
|
||||
private function getActionName(string $method) {
|
||||
$prefix = ($this->prefix == self::API_ASYNC ? '_async' : ($this->prefix == self::API_RATE_LIMITED ? '_rate_limited' : ''));
|
||||
$func_name = strtolower(preg_replace('/(?<=[a-z])([A-Z])/', '_$1', $method));
|
||||
return $prefix . $func_name;
|
||||
return $func_name . $prefix;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user