mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-26 20:47:08 +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