You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
422 B
PHP
21 lines
422 B
PHP
<?php
|
|
|
|
namespace User\Api;
|
|
use User\Api\Api;
|
|
use Admin\Model\BusinessAffairsModel;
|
|
|
|
class BusinessAffairsApi extends Api{
|
|
|
|
/**
|
|
* 构造方法,实例化操作模型
|
|
*/
|
|
protected function _init(){
|
|
$this->model = new BusinessAffairsModel(); //M('Promote','tab_');
|
|
}
|
|
/**
|
|
*添加商务专员
|
|
*/
|
|
public function add($data = array()){
|
|
return $this->model->sw_add($data);
|
|
}
|
|
} |