修复用户更新sql错误,ffmpeg拉流代理超时时间错误
This commit is contained in:
parent
970d2cfba1
commit
58639208c3
@ -13,21 +13,21 @@ public interface UserMapper {
|
||||
int add(User user);
|
||||
|
||||
@Update("UPDATE user " +
|
||||
"SET username=#{username}," +
|
||||
"password=#{password}," +
|
||||
"roleId=#{roleId}" +
|
||||
"SET username=#{username}, " +
|
||||
"password=#{password}, " +
|
||||
"roleId=#{roleId} " +
|
||||
"WHERE id=#{id}")
|
||||
int update(User user);
|
||||
|
||||
@Delete("DELETE FROM user WHERE app=#{app} AND id=#{id}")
|
||||
int delete(User user);
|
||||
|
||||
@Select("select * FROM user WHERE username= #{username} AND password=#{password}")
|
||||
@Select("select * FROM user WHERE username=#{username} AND password=#{password}")
|
||||
User select(String username, String password);
|
||||
|
||||
@Select("select * FROM user WHERE id= #{id}")
|
||||
@Select("select * FROM user WHERE id=#{id}")
|
||||
User selectById(int id);
|
||||
|
||||
@Select("select * FROM user WHERE username= #{username}")
|
||||
@Select("select * FROM user WHERE username=#{username}")
|
||||
User getUserByUsername(String username);
|
||||
}
|
||||
|
@ -36,7 +36,7 @@
|
||||
<el-form-item label="拉流地址" prop="src_url" v-if="proxyParam.type=='ffmpeg'">
|
||||
<el-input v-model="proxyParam.src_url" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="超时时间:秒" prop="timeout_ms" v-if="proxyParam.type=='ffmpeg'">
|
||||
<el-form-item label="超时时间:毫秒" prop="timeout_ms" v-if="proxyParam.type=='ffmpeg'">
|
||||
<el-input v-model="proxyParam.timeout_ms" clearable></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="FFmpeg命令模板" prop="ffmpeg_cmd_key" v-if="proxyParam.type=='ffmpeg'">
|
||||
|
Loading…
Reference in New Issue
Block a user