mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 19:00:01 +08:00
修好addStreamProxy接口获取参数失败的问题
This commit is contained in:
parent
d239ada9ac
commit
76372cd34b
@ -488,7 +488,7 @@ void addStreamProxy(const string &vhost, const string &app, const string &stream
|
|||||||
|
|
||||||
template <typename Type>
|
template <typename Type>
|
||||||
static void getArgsValue(const HttpAllArgs<ApiArgsType> &allArgs, const string &key, Type &value) {
|
static void getArgsValue(const HttpAllArgs<ApiArgsType> &allArgs, const string &key, Type &value) {
|
||||||
auto val = allArgs["key"];
|
auto val = allArgs[key];
|
||||||
if (!val.empty()) {
|
if (!val.empty()) {
|
||||||
value = (Type)val;
|
value = (Type)val;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user