AdminUserServiceInterface.php 661 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. /**
  3. * Author: lf
  4. * Blog: https://blog.feehi.com
  5. * Email: job@feehi.com
  6. * Created at: 2020-01-29 15:31
  7. */
  8. namespace common\services;
  9. interface AdminUserServiceInterface extends ServiceInterface
  10. {
  11. const ServiceName = 'adminUserService';
  12. const scenarioCreate = "create";
  13. const scenarioUpdate = "update";
  14. const scenarioSelfUpdate = "self-update";
  15. public function selfUpdate($id, array $postData, array $options=[]);
  16. public function newPasswordResetRequestForm();
  17. public function sendResetPasswordLink($postData);
  18. public function newResetPasswordForm($token);
  19. public function resetPassword($token, $postData);
  20. }