123456789101112131415161718192021222324252627282930313233343536 |
- <?php
- namespace api\cfloat\controller;
- use api\common\controller\CFloatBaseController;
- use huo\controller\member\Identify;
- class IdentifyController extends CFloatBaseController {
- public function _initialize() {
- parent::_initialize();
- }
-
- 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);
- }
- }
|