|
|
@ -100,7 +100,7 @@ module Mobile
|
|
|
|
requires :title, type: String, desc: '标题'
|
|
|
|
requires :title, type: String, desc: '标题'
|
|
|
|
requires :content, type: String, desc: '描述'
|
|
|
|
requires :content, type: String, desc: '描述'
|
|
|
|
optional :attachment_ids, type: Array[Integer], desc: '附件ID数组'
|
|
|
|
optional :attachment_ids, type: Array[Integer], desc: '附件ID数组'
|
|
|
|
requires :deadline_at, type: DateTime, desc: '截止日期'
|
|
|
|
requires :deadline_at, type: String, desc: '截止日期'
|
|
|
|
optional :min_price, type: Float, desc: '最小费用'
|
|
|
|
optional :min_price, type: Float, desc: '最小费用'
|
|
|
|
optional :max_price, type: Float, desc: '最大费用'
|
|
|
|
optional :max_price, type: Float, desc: '最大费用'
|
|
|
|
requires :contact_name, type: String, desc: '联系人姓名'
|
|
|
|
requires :contact_name, type: String, desc: '联系人姓名'
|
|
|
@ -128,7 +128,7 @@ module Mobile
|
|
|
|
requires :title, type: String, desc: '标题'
|
|
|
|
requires :title, type: String, desc: '标题'
|
|
|
|
requires :content, type: String, desc: '描述'
|
|
|
|
requires :content, type: String, desc: '描述'
|
|
|
|
optional :attachment_ids, type: Array[Integer], desc: '附件ID数组'
|
|
|
|
optional :attachment_ids, type: Array[Integer], desc: '附件ID数组'
|
|
|
|
requires :deadline_at, type: DateTime, desc: '截止日期'
|
|
|
|
requires :deadline_at, type: String, desc: '截止日期'
|
|
|
|
optional :min_price, type: Float, desc: '最小费用'
|
|
|
|
optional :min_price, type: Float, desc: '最小费用'
|
|
|
|
optional :max_price, type: Float, desc: '最大费用'
|
|
|
|
optional :max_price, type: Float, desc: '最大费用'
|
|
|
|
requires :contact_name, type: String, desc: '联系人姓名'
|
|
|
|
requires :contact_name, type: String, desc: '联系人姓名'
|
|
|
|