当前位置: 首页 > news >正文

智慧团建网站首页婚庆摄影网站模板

智慧团建网站首页,婚庆摄影网站模板,做个购物商城网站多长时间,网站建设参考初始化客户端使用前请先初始化客户端#xff0c;请参见创建分类调用AddCategory接口#xff0c;完成创建分类功能。接口参数和返回字段请参见from aliyunsdkvod.request.v20170321 import AddCategoryRequestdef add_category(clt, cateName, parentId-1):request AddCatego…初始化客户端使用前请先初始化客户端请参见创建分类调用AddCategory接口完成创建分类功能。接口参数和返回字段请参见from aliyunsdkvod.request.v20170321 import AddCategoryRequestdef add_category(clt, cateName, parentId-1):request AddCategoryRequest.AddCategoryRequest()request.set_CateName(cateName)request.set_ParentId(parentId)request.set_accept_format(JSON)response json.loads(clt.do_action_with_exception(request))return responsetry:clt init_vod_client(, )addRes add_category(clt, Category Name)print(json.dumps(addRes, ensure_asciiFalse, indent4))except Exception as e:print(e)print(traceback.format_exc())修改分类调用UpdateCategory接口完成修改分类功能。接口参数和返回字段请参见from aliyunsdkvod.request.v20170321 import UpdateCategoryRequestdef update_category(clt, cateId, cateName):request UpdateCategoryRequest.UpdateCategoryRequest()request.set_CateId(cateId)request.set_CateName(cateName)request.set_accept_format(JSON)response json.loads(clt.do_action_with_exception(request))return responsetry:clt init_vod_client(, )updateRes update_category(clt, , New Category Name)print(json.dumps(updateRes, ensure_asciiFalse, indent4))except Exception as e:print(e)print(traceback.format_exc())删除分类调用DeleteCategory接口完成删除分类功能。接口参数和返回字段请参见from aliyunsdkvod.request.v20170321 import UpdateCategoryRequest# 删除视频分类同时会删除其下级分类(包括二级分类和三级分类)请慎重操作def delete_category(clt, cateId):request DeleteCategoryRequest.DeleteCategoryRequest()request.set_CateId(cateId)request.set_accept_format(JSON)response json.loads(clt.do_action_with_exception(request))return responsetry:clt init_vod_client(, )delRes delete_category(clt, )print(json.dumps(delRes, ensure_asciiFalse, indent4))except Exception as e:print(e)print(traceback.format_exc())查询分类及其子分类调用GetCategories接口完成查询分类及其子分类功能。接口参数和返回字段请参见from aliyunsdkvod.request.v20170321 import GetCategoriesRequestdef get_categories(clt, cateId-1, pageNo1, pageSize10):request GetCategoriesRequest.GetCategoriesRequest()request.set_CateId(cateId)request.set_PageNo(pageNo)request.set_PageSize(pageSize)request.set_accept_format(JSON)response json.loads(clt.do_action_with_exception(request))return responsetry:clt init_vod_client(, )getRes get_categories(clt, )print(json.dumps(getRes, ensure_asciiFalse, indent4))except Exception as e:print(e)print(traceback.format_exc())
http://www.huolong8.cn/news/50896/

相关文章:

  • 竞猜网站开发多少钱惠州做网站多少钱
  • 外包网站开发合同范本春哥seo博客
  • 购物网站后台订单处理流程东莞网络营销班
  • 大学生做爰网站阜阳讯拓网站建设
  • 青海省建设厅官方网站建设云现在网站还用asp做
  • 盘锦门户网站制作做网站的项目实施方案
  • 免费建微网站2023年又开始封控了吗
  • 自适应网站制作公司什么是html5网站
  • 无刷新网站太原seo关键词优化
  • 中小企业网站开发河南关键词seo
  • 游戏网站建设系统介绍温州seo平台
  • 此网站域名即将过期淘宝网站做多久
  • python做网站的多吗调研报告万能模板
  • 网站保护等级是企业必须做的么陕西政务服务网
  • 黑色门户网站源码在国外做黄皮网站违法么
  • 安顺市哪里可以做网站网络绿化网站建设哪家权威
  • 上海市建设安全协会网站打不开wordpress装到哪里
  • 宿迁莱布拉网站建设wordpress外贸询盘插件
  • 做网站例子图片描述做网站颜色黑色代码多少钱
  • 购物网站 购物车界面如何做软考网络工程师中级
  • 专门做排行的网站搭建是什么意思
  • 免费稳定网站空间个人小程序开发
  • 尤溪网站建设如何在虚拟主机一键安装wordpress
  • 做网站服务器和域名合肥瑶海区什么时候解封
  • wordpress建站收录快遵义做网站的公司
  • 汉沽网站建设asp网站做seo
  • 双滦区seo整站排名没有虚拟主机怎么建网站
  • 唐山哪里有做网站的进入网站wordpress配置
  • dede网站模板页在什么文件夹wordpress 函数 文件
  • 做网站时图片要切片有什么作用专业做网站的人