|
|
@@ -14,7 +14,11 @@ import com.alibaba.fastjson.JSONObject;
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
|
import org.jeecg.common.api.vo.Result;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-import org.springframework.web.bind.annotation.*;
|
|
|
+import org.springframework.web.bind.annotation.GetMapping;
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestBody;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
@RestController
|
|
|
@RequestMapping("/kusiShouUpload")
|
|
|
@@ -148,12 +152,14 @@ public class KuaiShouMaterialUploadController {
|
|
|
JSONObject returnJson = new JSONObject();
|
|
|
returnJson.put("url", imageUrl);
|
|
|
returnJson.put("signature", signature);
|
|
|
+ returnJson.put("imageToken", imageToken);
|
|
|
returnArr.add(returnJson);
|
|
|
}
|
|
|
} else {
|
|
|
JSONObject returnJson = new JSONObject();
|
|
|
returnJson.put("url", imageUrl);
|
|
|
returnJson.put("signature", signature);
|
|
|
+ returnJson.put("imageToken", imageGet.getImageToken());
|
|
|
returnArr.add(returnJson);
|
|
|
}
|
|
|
}
|