* @version : HUOSDK 8.0 */ namespace api\cfloat\controller; use api\common\controller\CFloatBaseController; use huo\controller\member\Identify; class IdentifyController extends CFloatBaseController { public function _initialize() { parent::_initialize(); } /** * 实名认证-设置 * http://doc.1tsdk.com/138?page_id=3283 * 【域名】/cfloat/identify/set */ public function save() { $_type = $this->request->param('type/d', 0); $_idcard = $this->request->param('idcard/s', ''); $_realname = $this->request->param('realname/s', ''); $_rdata = (new Identify())->update($this->mem_id, $_type, $_realname, $_idcard); $this->returnData($_rdata); } }