...
|
...
|
@@ -29,6 +29,7 @@ class Order extends Api |
|
|
* @ApiParams (name="teacher_id", type="int", required=true, description="老师ID")
|
|
|
* @ApiParams (name="territory_id", type="int", required=true, description="咨询领域ID")
|
|
|
* @ApiParams (name="is_use", type="int", required=true, description="是否适用优惠劵(0不使用,1使用)")
|
|
|
* @ApiParams (name="coupon_id", type="int", required=false, description="优惠劵ID")
|
|
|
* @ApiParams (name="money", type="string", required=false, description="金额")
|
|
|
* @ApiParams (name="business", type="string", required=false, description="所属行业")
|
|
|
* @ApiParams (name="address", type="string", required=false, description="经营地区/职能类别")
|
...
|
...
|
@@ -62,6 +63,9 @@ class Order extends Api |
|
|
if (!$validate->check($param)) {
|
|
|
$this->error($validate->getError());
|
|
|
}
|
|
|
if($param['is_use'] == 1){
|
|
|
|
|
|
}
|
|
|
$yong = Db::name('commission')
|
|
|
->where('id',1)
|
|
|
->find();
|
...
|
...
|
|