摘要: model from django.db import models # Create your models here. class Car(models.Model): COLOUR_CHOICES=( (0,'银色'), (1,'黑色'), (2,'红色'), (3,'灰色'), ) name 阅读全文
posted @ 2019-12-26 17:01 是我,米老鼠 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 接口: 采用某种请求方式提交参数,获得响应的响应数据结果的url链接 ​ url链接:https://api.*.com/users/ ​ 请求方式:get ​ 请求参数: ​ 响应结果: 接口文档: 讲接口的四部分编写成为文档形式(前台后台厕所...),yapi平台编写 restful接口规范: 阅读全文
posted @ 2019-12-26 16:52 是我,米老鼠 阅读(131) 评论(0) 推荐(0) 编辑