Commit 100a0d90 by 18356073052

素材接口修改

1 parent bcd4a809
...@@ -114,7 +114,7 @@ public class WeMaterialController extends BaseController { ...@@ -114,7 +114,7 @@ public class WeMaterialController extends BaseController {
@PreAuthorize("@ss.hasPermi('wechat:material:temporaryMaterialMediaId')") @PreAuthorize("@ss.hasPermi('wechat:material:temporaryMaterialMediaId')")
@Log(title = "获取素材media_id", businessType = BusinessType.OTHER) @Log(title = "获取素材media_id", businessType = BusinessType.OTHER)
@PutMapping("/temporaryMaterialMediaId") @PostMapping("/temporaryMaterialMediaId")
@ApiOperation("获取素材media_id") @ApiOperation("获取素材media_id")
public AjaxResult temporaryMaterialMediaId(@RequestParam(value = "url") String url, @RequestParam(value = "type") String type,@RequestParam(value = "name") String name){ public AjaxResult temporaryMaterialMediaId(@RequestParam(value = "url") String url, @RequestParam(value = "type") String type,@RequestParam(value = "name") String name){
WeMediaDto weMediaDto = materialService.uploadTemporaryMaterial(url, type,name); WeMediaDto weMediaDto = materialService.uploadTemporaryMaterial(url, type,name);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!