# sinbad-server **Repository Path**: shelpe/sinbad-server ## Basic Information - **Project Name**: sinbad-server - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: dev - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2016-07-06 - **Last Updated**: 2021-11-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #sinbad-server put /sinbadservice/campaigns/{campaign_id} 数据库:mysql campaigns { "user_id":-2601, //用户id (必须) "campaign_id":, //推广计划id (必须) "budget": 100, //日限额,min>30 (必须) "area":{ //地域 (必须) "asAll": true //是否是all,是显示,不是就输入下面的 或者 (二者选其一) "nums":[19,138,393,19,138,393] 以数组形式显示 }, "schdule": //限时折扣 (all或者00:00-08:00:100,08:00-24:00:85;0;0;0;0;0;0) (必须) 说明:(;)分号分割的是每天设置的。字符(,)分割的时段折扣字符串,格式为:起始时间-结束时间:折扣,其中时间是24小时格式记录,折扣是1-150整数,表示折扣百分比 } response: 200 { "budget": 100, (必须) "autoType": 0, (必须) "area": { (必须) "asAll": true, (二者显示其一) "nums": null 以数组形式显示 }, "schdule": //为一段字符串,限时折扣 (必须) "campaign_id": 0, (必须) }