public function save($model) { $model['openid'] = hash('sha256', $model['number'] . TORCH_SECRET); $model['support_service'] = implode(',', (array) $model['support_service']); $model['photo'] = ImageUpload::getImageUrl(); parent::save($model); $time = time(); header("location: ../user-success.php"); }
public function save($model) { parent::save($model); $time = time(); header("location: ../advice-make.php?time=" . $time . "mate_openid=" . $model['mate_openid']); }
public function save($model) { parent::save($model); $time = time(); header("location: ../advice-success.php?time=" . $time); }