我首先在Laravel中创建了一个Web应用程序。现在,我正在使用Ionic Frame工作开发其移动应用程序。
在使用laravel时,laravel将密码转换为其加密。现在,在将Ionic中的API与Laravel集成以及登录功能时,我面临一个问题,即如何将通过Mobile App输入的密码与laravel表中的加密密码进行比较。
如果它可以是Web App,那么它可以正常工作,但是对于API集成,我面临着这个问题。请帮我
我在这里经历过SO问题.但我无法得到这个错误试图建议的内容.请帮我解决这个问题.
最后,HIGHER MODULE意味着哪个模块.因为我是新手,所以这就是为什么不正确.
mycode的:
app.module.ts
@NgModule({
declarations: [
MyApp,
UsersPage,
ReposPage,
OrganisationsPage,
UserDetailsPage,
LoginPage
],
imports: [
BrowserModule,
HttpModule,
IonicModule.forRoot(MyApp),
],
bootstrap: [IonicApp],
entryComponents: [
MyApp,
LoginPage,
UsersPage,
ReposPage,
OrganisationsPage,
UserDetailsPage,
],
Run Code Online (Sandbox Code Playgroud)
Login.module.ts
import { NgModule } from '@angular/core';
import { IonicPageModule,IonicPage } from 'ionic-angular';
import { LoginPage } from './login';
//import { IonicPage } from 'ionic-angular';
@IonicPage()
@NgModule({
declarations: [
LoginPage,
],
imports: [
IonicPageModule.forChild(LoginPage),
],
entryComponents: [
LoginPage
],
exports: [
LoginPage
]
})
export class LoginPageModule {} …Run Code Online (Sandbox Code Playgroud) <select class="form-control selectpicker" id="specialty_id" data-live-search="true" tabindex="-98" name="specialty_id" >
<option selected="" value="0" id="ee" <?php if(isset($_GET['sp_id']) && $_GET['sp_id'] == 0): ?>{{ 'selected="selected"' }} <?php endif; ?>>Choose a Sp</option>
@foreach($searchdropdown['dsp'] as $dsptext)
<option value="{{ $dsptext->spect }}" <?php if(isset($_GET['sp_id']) && $_GET['sp_id'] == $dsptext->spect): ?>{{ 'selected="selected"' }} <?php endif; ?>>{{ $spdata->sp }}</option>
@endforeach
</select>
Run Code Online (Sandbox Code Playgroud)
如何在占位框的输入文本中添加占位符。该文本框是动态生成的。我对此进行了研究,但找不到任何有用的内容。请帮我。
例如:请参考此链接 https://silviomoreto.github.io/bootstrap-select/examples/#live-search
jquery placeholder jquery-selectbox drop-down-menu bootstrap-select