deng.yinping преди 1 година
родител
ревизия
04b55cc76b
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/services/api/common/index.ts

+ 1 - 1
src/services/api/common/index.ts

@@ -55,7 +55,7 @@ export function sendRegisterVerifyCode(config: RequestConfig<{ phonenumber: stri
 /**
  * 重置密码
  */
-export function (config: RequestConfig<Model.ResetPasswordReq> = {}) {
+export function resetPassword(config: RequestConfig<Model.ResetPasswordReq> = {}) {
     return http.request<Model.ResetPasswordRsp>({
         method: 'post',
         url: service.getConfig('commSearchUrl') + '/tradeoperation/resetpwdbycardnum',