0
我有一个现有的API和后端系统,我做前端部分(使用离子和角创建一个移动应用程序),现在我想实现一个函数,重置密码通过电话向消费者发送消息。通过使用离子和angularjs发送文本重置密码
我已经完成重置密码html页面,允许用户输入他/她的手机号码,然后将其发送到API以获取客户的ID,但我不知道如何发送链接密码给客户的手机。
<ion-view title="resetPassword">
<ion-header-bar>
<h1 class="title">Reset your Password</h1>
</ion-header-bar>
<ion-content>
<form name="resetPwdData" novalidate>
<p>
Please enter your mobile number associated to this account !
</p>
<label class="item item-input">
<span class="input-label">Mobile Number</span>
<input type="text" ng-model="resetPwdData.mobile" required>
</label>
</form>
</ion-content>