|
@@ -14,6 +14,7 @@ import com.zhongzheng.common.utils.polyv.PolyvUtils;
|
|
|
import com.zhongzheng.modules.polyv.domain.PolyvVideDo;
|
|
|
import com.zhongzheng.modules.polyv.vo.PolyvVideoQuerVo;
|
|
|
import com.zhongzheng.modules.polyv.domain.TokenResponse;
|
|
|
+import com.zhongzheng.modules.polyv.vo.PolyvVo;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.stereotype.Service;
|
|
@@ -196,6 +197,16 @@ public class PolyvVideoServiceImpl extends ServiceImpl<PolyvVideoMapper, PolyvVi
|
|
|
return null;*/
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
+ public PolyvVo getPolyvUpload() {
|
|
|
+ PolyvVo polyvVo = new PolyvVo();
|
|
|
+ Long ptime = System.currentTimeMillis();
|
|
|
+ polyvVo.setPtime(ptime);
|
|
|
+ polyvVo.setHash(md5Hex(ptime+poliv_token_writetoken));
|
|
|
+ polyvVo.setSign(md5Hex(poliv_token_secretkey+ptime));
|
|
|
+ return polyvVo;
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
public void polyvbRequest(String VId) throws Exception {
|
|
|
//获得保利威sign
|