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
fa331d91
Commit
fa331d91
authored
Jan 25, 2019
by
lingqingmei
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ccw' of
http://git.shenbd.com/api-project-dev/api.shenbd.com
into master_dev
parents
4e704e36
6bfacf69
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
86 additions
and
0 deletions
+86
-0
Index.php
application/controllers/Index.php
+9
-0
Common.php
application/library/Our/Common.php
+9
-0
getinvatehtml.phtml
application/views/index/getinvatehtml.phtml
+68
-0
rzyzkxk.ttf
public/data/fonts/fonts/rzyzkxk.ttf
+0
-0
No files found.
application/controllers/Index.php
View file @
fa331d91
...
@@ -105,7 +105,16 @@ class IndexController extends \Our\Controller_Abstract {
...
@@ -105,7 +105,16 @@ class IndexController extends \Our\Controller_Abstract {
}
}
exit
;
exit
;
}
}
public
function
getInvateHtmlAction
(){
$req
=
$this
->
getRequest
()
->
getQuery
();
if
(
empty
(
$req
[
'params'
]
)){
echo
'error'
;
exit
;
}
$params
=
base64_decode
(
$req
[
'params'
]);
$params
=
\Our\Common
::
paramToJson
(
$params
);
$this
->
_view
->
assign
(
"params"
,
$params
);
}
public
function
testPushAction
(){
public
function
testPushAction
(){
$clientPush
=
\JPush\ClientPush
::
getInstance
();
$clientPush
=
\JPush\ClientPush
::
getInstance
();
$clientPush
->
pushTest
(
array
());
$clientPush
->
pushTest
(
array
());
...
...
application/library/Our/Common.php
View file @
fa331d91
...
@@ -334,6 +334,15 @@ public static function convertArrKey($arr, $key_name)
...
@@ -334,6 +334,15 @@ public static function convertArrKey($arr, $key_name)
json_decode
(
$string
);
json_decode
(
$string
);
return
(
json_last_error
()
==
JSON_ERROR_NONE
);
return
(
json_last_error
()
==
JSON_ERROR_NONE
);
}
}
public
static
function
paramToJson
(
$param
)
{
$array
=
array
();
$paramArrs
=
explode
(
'&'
,
$param
);
foreach
(
$paramArrs
as
$paramArr
)
{
$array
[
strstr
(
$paramArr
,
'='
,
true
)]
=
substr
(
strstr
(
$paramArr
,
'='
),
1
);
}
return
$array
;
}
/**
/**
* sql字符串格式化
* sql字符串格式化
...
...
application/views/index/getinvatehtml.phtml
0 → 100644
View file @
fa331d91
<!DOCTYPE html>
<html>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=utf-8"
>
<title>
我的身边店 - 您身边的品牌 服务品牌的你
</title>
<meta
name=
"description"
content=
"【我的身边店】互联网平台助力实体店升级,为实体店逐渐优化成“实体+智能”于一体的“数字店铺”提供技术支持,助力服务创新,适应用户购买方式的改变,助力实体,让商业回归本源!"
>
<meta
name=
"keywords"
content=
"我的身边店,我的,身边,店,身边店,的身边店,品牌,诚信,配送,近距离,线下支付,到店自提,货到付款,区域,独家,周边,坐等,在身边,可信赖,易追溯,异业,导流,推广,代理商,配送员,推广者,商家提供各类服饰,美容,家居,数码,销售家电,数码通讯,电脑,家居百货,服装服饰,母婴,图书,食品"
>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1.0"
>
<link
type=
"image/x-icon"
rel=
"icon"
href=
"//static.shenbd.com/lib/img/favicon-hd.ico"
/>
<link
type=
"image/x-icon"
rel=
"shortcut icon"
href=
"//static.shenbd.com/lib/img/favicon.ico"
/>
<style>
body
,
blockquote
,
h1
,
h2
,
h3
,
h4
,
h5
,
h6
,
p
,
pre
,
dd
,
form
,
figure
{
margin
:
0
}
legend
{
padding
:
0
}
menu
,
ol
,
ul
,
dl
,
fieldset
,
input
,
textarea
{
margin
:
0
;
padding
:
0
}
audio
,
video
,
canvas
{
*
display
:
inline
;
*
zoom
:
1
}
:link
,
:visited
{
text-decoration
:
none
}
[
hidden
],
template
{
display
:
none
}
a
{
text-decoration
:
none
;
background-color
:
transparent
;
-webkit-text-decoration-skip
:
objects
}
img
{
border-style
:
none
;
vertical-align
:
middle
}
@font-face
{
font-family
:
rzyzkxk
;
src
:
url('/data/fonts/fonts/rzyzkxk.ttf')
;
}
.wrap
{
max-width
:
1276px
;
margin
:
0
auto
;
}
body
{
background
:
#fff
;
font-size
:
14px
;
line-height
:
1.5
;
font-family
:
"Microsoft Yahei"
;}
.mod-card
{
height
:
1063px
;
background
:
url("//static.shenbd.com/www/index/2018/img/card/bg-card.jpg")
no-repeat
;
position
:
relative
;
color
:
#030000
}
.mod-card
.mod-c1
,
.mod-card
.mod-c2
{
position
:
absolute
;
width
:
50%
;
text-align
:
center
;}
.mod-card
.mod-c1
{
left
:
0
;
top
:
300px
;}
.mod-card
.mod-c2
{
right
:
0
;
top
:
200px
;}
.mod-card
.t1
{
margin-top
:
35px
;}
.mod-card
.t2
{
margin-top
:
255px
;}
.mod-card
.message
{
line-height
:
1.4
;
margin-top
:
160px
;}
.mod-card
.name
{
font-size
:
74px
;
font-family
:
'rzyzkxk'
;}
.mod-card
.title
{
font-size
:
26px
;}
.mod-card
.phone
{
font-size
:
36px
;
margin-top
:
20px
;
letter-spacing
:
8px
;}
.mod-card
.code
{
margin-top
:
60px
;}
</style>
</head>
<body>
<div
class=
"wrap"
>
<div
class=
"mod-card"
>
<div
class=
"mod-c1"
>
<p><img
src=
"//static.shenbd.com/www/index/2018/img/code-download-400.jpg"
width=
"325"
height=
"325"
alt=
"我的身边店"
></p>
<p
class=
"t1"
><img
src=
"//static.shenbd.com/www/index/2018/img/card/t1.png"
alt=
"我的身边店"
></p>
<p
class=
"t2"
><img
src=
"//static.shenbd.com/www/index/2018/img/card/t2.png"
alt=
"您身边的品牌 服务品牌的你"
></p>
</div>
<div
class=
"mod-c2"
>
<div
class=
"logo"
>
<img
src=
"//static.shenbd.com/lib/img/logo-black.png"
alt=
"我的身边店"
>
</div>
<div
class=
"message"
>
<p
class=
"name"
>
<?php
echo
$params
[
'name'
];
?>
</p>
<p
class=
"title"
>
区域经理
</p>
<p
class=
"phone"
>
<?php
echo
$params
[
'telephone'
];
?>
</p>
</div>
<div
class=
"code"
>
<img
width=
"213"
src=
"
<?php
echo
$params
[
'qrcodeUrl'
];
?>
"
alt=
"我的身边店"
>
</div>
</div>
</div>
</div>
</body>
</html>
\ No newline at end of file
public/data/fonts/fonts/rzyzkxk.ttf
0 → 100644
View file @
fa331d91
File added
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