Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wechat_lung
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hanpeng
wechat_lung
Commits
977d1672
Commit
977d1672
authored
Aug 27, 2019
by
hanpeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
-mark- 登录模块test环境
parent
3ed1d837
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
formLogin.html
wechat_lung_login/formLogin.html
+1
-1
formLogin.js
wechat_lung_login/javaScript/formLogin.js
+4
-4
No files found.
wechat_lung_login/formLogin.html
View file @
977d1672
...
@@ -221,7 +221,7 @@
...
@@ -221,7 +221,7 @@
nc
.
reset
()
nc
.
reset
()
$
(
'#__nc'
).
hide
();
$
(
'#__nc'
).
hide
();
$
.
ajax
({
$
.
ajax
({
url
:
'https://devgw.medtap.cn/user/3.0/sendCode/login'
,
url
:
'https://
test
devgw.medtap.cn/user/3.0/sendCode/login'
,
type
:
'post'
,
type
:
'post'
,
async
:
true
,
async
:
true
,
contentType
:
"application/json"
,
contentType
:
"application/json"
,
...
...
wechat_lung_login/javaScript/formLogin.js
View file @
977d1672
...
@@ -50,7 +50,7 @@ define(['zepto', 'medtapCore'], function($, medtapCore) {
...
@@ -50,7 +50,7 @@ define(['zepto', 'medtapCore'], function($, medtapCore) {
}
}
if
(
login
.
agencyId
!=
''
){
//扫描代理商二维码进来的用户
if
(
login
.
agencyId
!=
''
){
//扫描代理商二维码进来的用户
$
.
ajax
({
$
.
ajax
({
url
:
'https://devgw.medtap.cn/user/loginUserByWechat'
,
url
:
'https://
test
devgw.medtap.cn/user/loginUserByWechat'
,
type
:
'post'
,
type
:
'post'
,
async
:
true
,
async
:
true
,
dataType
:
'json'
,
dataType
:
'json'
,
...
@@ -89,7 +89,7 @@ define(['zepto', 'medtapCore'], function($, medtapCore) {
...
@@ -89,7 +89,7 @@ define(['zepto', 'medtapCore'], function($, medtapCore) {
});
});
}
else
if
(
login
.
inviteCode
!=
''
){
//兼容历史版本使用inviteCode做业务的使用场景
}
else
if
(
login
.
inviteCode
!=
''
){
//兼容历史版本使用inviteCode做业务的使用场景
$
.
ajax
({
$
.
ajax
({
url
:
'https://devgw.medtap.cn/user/loginUserByWechat'
,
url
:
'https://
test
devgw.medtap.cn/user/loginUserByWechat'
,
type
:
'post'
,
type
:
'post'
,
async
:
true
,
async
:
true
,
dataType
:
'json'
,
dataType
:
'json'
,
...
@@ -128,7 +128,7 @@ define(['zepto', 'medtapCore'], function($, medtapCore) {
...
@@ -128,7 +128,7 @@ define(['zepto', 'medtapCore'], function($, medtapCore) {
});
});
}
else
if
(
login
.
doctorId
!=
''
){
//兼容历史版本使用doctorId做业务的使用场景
}
else
if
(
login
.
doctorId
!=
''
){
//兼容历史版本使用doctorId做业务的使用场景
$
.
ajax
({
$
.
ajax
({
url
:
'https://devgw.medtap.cn/user/loginUserByWechat'
,
url
:
'https://
test
devgw.medtap.cn/user/loginUserByWechat'
,
type
:
'post'
,
type
:
'post'
,
async
:
true
,
async
:
true
,
dataType
:
'json'
,
dataType
:
'json'
,
...
@@ -167,7 +167,7 @@ define(['zepto', 'medtapCore'], function($, medtapCore) {
...
@@ -167,7 +167,7 @@ define(['zepto', 'medtapCore'], function($, medtapCore) {
});
});
}
else
{
}
else
{
$
.
ajax
({
$
.
ajax
({
url
:
'https://devgw.medtap.cn/user/loginUserByWechat'
,
url
:
'https://
test
devgw.medtap.cn/user/loginUserByWechat'
,
type
:
'post'
,
type
:
'post'
,
async
:
true
,
async
:
true
,
dataType
:
'json'
,
dataType
:
'json'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment