wwf
2 天以前 791a96ae03cf92478244127b294c1fe520d31e89
entry/src/main/ets/pages/login/SignInPage.ets
@@ -3,6 +3,7 @@
import { HttpResponseResult } from '../../data/HttpResponse';
import { ComponentContent } from '@kit.ArkUI';
import { PromptActionClass } from '../../utils/PromptActionClass';
import { DOMAIN } from '../../utils/config';
class DialogParams {
  text: string = "";
@@ -90,7 +91,7 @@
    }
    httpRequest.request(
      "http://192.168.20.70:8080/quiz-community/public/v1.0/users/register",
      `${DOMAIN}/quiz-community/public/v1.0/users/register`,
      {
        method: http.RequestMethod.POST,
        header: { 'Content-Type': 'application/json' },
@@ -106,8 +107,6 @@
          } else {
            promptAction.showToast({ message: resData.msg })
          }
        } else {
          promptAction.showToast({ message: err.message })
        }
      }
    )