Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
my-yaf-project
Project
Project
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
chenchuanwen
my-yaf-project
Commits
615edb13
Commit
615edb13
authored
Nov 26, 2018
by
zhz
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master_dev' of git.shenbd.com:qm-develop/shenbd into master_dev
parents
3fedeabe
02008cb5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
ShareService.php
application/models/Business/User/ShareService.php
+4
-4
chat.js
public/data/js/chat.js
+1
-1
No files found.
application/models/Business/User/ShareService.php
View file @
615edb13
...
@@ -93,8 +93,8 @@ class ShareServiceModel extends \Business\AbstractModel
...
@@ -93,8 +93,8 @@ class ShareServiceModel extends \Business\AbstractModel
$this
->
memberDb0Redis
->
tableCacheSet
(
$fileName
,
$url
,
ApiConst
::
zero
);
$this
->
memberDb0Redis
->
tableCacheSet
(
$fileName
,
$url
,
ApiConst
::
zero
);
return
$url
;
return
$url
;
}
else
{
}
else
{
//
return $this->getQrUrl($data['id']);
return
$this
->
getQrUrl
(
$data
[
'id'
]);
return
PathConst
::
wxDefaultPath
;
//
return PathConst::wxDefaultPath;
}
}
}
else
{
}
else
{
return
$this
->
getQrUrl
(
$data
[
'id'
]);
return
$this
->
getQrUrl
(
$data
[
'id'
]);
...
@@ -115,8 +115,8 @@ class ShareServiceModel extends \Business\AbstractModel
...
@@ -115,8 +115,8 @@ class ShareServiceModel extends \Business\AbstractModel
$this
->
memberDb0Redis
->
tableCacheSet
(
$fileName
,
$url
,
ApiConst
::
zero
);
$this
->
memberDb0Redis
->
tableCacheSet
(
$fileName
,
$url
,
ApiConst
::
zero
);
return
$url
;
return
$url
;
}
else
{
}
else
{
//
return $this->getQrUrl($data['id']);
return
$this
->
getQrUrl
(
$data
[
'id'
]);
return
PathConst
::
wxDefaultPath
;
//
return PathConst::wxDefaultPath;
}
}
}
else
{
}
else
{
//不是微信分享就是普通下载的二维码图片
//不是微信分享就是普通下载的二维码图片
...
...
public/data/js/chat.js
View file @
615edb13
...
@@ -37,7 +37,7 @@ function listenEvent() {
...
@@ -37,7 +37,7 @@ function listenEvent() {
/**
/**
* 连接建立时触发
* 连接建立时触发
*/
*/
ws
.
onopen
=
function
(
e
)
{
ws
.
onopen
=
function
(
e
)
{
a
console
.
log
(
e
.
data
);
console
.
log
(
e
.
data
);
var
msg
=
{
"method"
:
"join"
,
"key"
:
key
};
var
msg
=
{
"method"
:
"join"
,
"key"
:
key
};
ws
.
send
(
$
.
toJSON
(
msg
));
ws
.
send
(
$
.
toJSON
(
msg
));
...
...
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