|
@@ -3,6 +3,7 @@ package cn.com.qmth.examcloud.exchange.inner.api.provider;
|
|
|
import java.io.IOException;
|
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.web.bind.annotation.ModelAttribute;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
@@ -42,7 +43,7 @@ public class UpyunCloudServiceProvider extends ControllerSupport implements Upyu
|
|
|
|
|
|
@PostMapping("putFile")
|
|
|
@Override
|
|
|
- public PutFileResp putFile(PutFileReq req) {
|
|
|
+ public PutFileResp putFile(@ModelAttribute PutFileReq req) {
|
|
|
String fileSuffix = req.getFileSuffix();
|
|
|
Long rootOrgId = req.getRootOrgId();
|
|
|
Long userId = req.getUserId();
|