Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
xiaozhan
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
冷斌
xiaozhan
Commits
391eafab
Commit
391eafab
authored
Feb 20, 2020
by
liuhailong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://132.232.91.252:9999/ice/xiaozhan
parents
086fbf11
239a1184
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
147 additions
and
131 deletions
+147
-131
admin/themes/simplebootx/Admin/Configprivate/index.html
+0
-0
api/Appapi/Api/Charge.php
+60
-60
api/Appapi/Api/Home.php
+4
-0
api/Appapi/Api/Live.php
+5
-5
api/Appapi/Api/Red.php
+0
-0
api/Appapi/Api/User.php
+2
-8
api/Appapi/Model/Live.php
+25
-4
api/Appapi/Model/User.php
+9
-11
application/Admin/Controller/CashController.class.php
+42
-42
themes/simplebootx/Appapi/Family/member_search.html
+0
-1
No files found.
admin/themes/simplebootx/Admin/Configprivate/index.html
View file @
391eafab
This diff is collapsed.
Click to expand it.
api/Appapi/Api/Charge.php
View file @
391eafab
...
@@ -7,24 +7,24 @@ class Api_Charge extends PhalApi_Api {
...
@@ -7,24 +7,24 @@ class Api_Charge extends PhalApi_Api {
'getAliOrder'
=>
array
(
'getAliOrder'
=>
array
(
'uid'
=>
array
(
'name'
=>
'uid'
,
'type'
=>
'int'
,
'min'
=>
1
,
'require'
=>
true
,
'desc'
=>
'用户ID'
),
'uid'
=>
array
(
'name'
=>
'uid'
,
'type'
=>
'int'
,
'min'
=>
1
,
'require'
=>
true
,
'desc'
=>
'用户ID'
),
'changeid'
=>
array
(
'name'
=>
'changeid'
,
'type'
=>
'int'
,
'require'
=>
true
,
'desc'
=>
'充值规则ID'
),
'changeid'
=>
array
(
'name'
=>
'changeid'
,
'type'
=>
'int'
,
'require'
=>
true
,
'desc'
=>
'充值规则ID'
),
'coin'
=>
array
(
'name'
=>
'coin'
,
'type'
=>
'string'
,
'require'
=>
true
,
'desc'
=>
'
萌豆
'
),
'coin'
=>
array
(
'name'
=>
'coin'
,
'type'
=>
'string'
,
'require'
=>
true
,
'desc'
=>
'
钻石
'
),
'money'
=>
array
(
'name'
=>
'money'
,
'type'
=>
'string'
,
'require'
=>
true
,
'desc'
=>
'充值金额'
),
'money'
=>
array
(
'name'
=>
'money'
,
'type'
=>
'string'
,
'require'
=>
true
,
'desc'
=>
'充值金额'
),
),
),
'getWxOrder'
=>
array
(
'getWxOrder'
=>
array
(
'uid'
=>
array
(
'name'
=>
'uid'
,
'type'
=>
'int'
,
'min'
=>
1
,
'require'
=>
true
,
'desc'
=>
'用户ID'
),
'uid'
=>
array
(
'name'
=>
'uid'
,
'type'
=>
'int'
,
'min'
=>
1
,
'require'
=>
true
,
'desc'
=>
'用户ID'
),
'changeid'
=>
array
(
'name'
=>
'changeid'
,
'type'
=>
'string'
,
'require'
=>
true
,
'desc'
=>
'充值规则ID'
),
'changeid'
=>
array
(
'name'
=>
'changeid'
,
'type'
=>
'string'
,
'require'
=>
true
,
'desc'
=>
'充值规则ID'
),
'coin'
=>
array
(
'name'
=>
'coin'
,
'type'
=>
'string'
,
'require'
=>
true
,
'desc'
=>
'
萌豆
'
),
'coin'
=>
array
(
'name'
=>
'coin'
,
'type'
=>
'string'
,
'require'
=>
true
,
'desc'
=>
'
钻石
'
),
'money'
=>
array
(
'name'
=>
'money'
,
'type'
=>
'string'
,
'require'
=>
true
,
'desc'
=>
'充值金额'
),
'money'
=>
array
(
'name'
=>
'money'
,
'type'
=>
'string'
,
'require'
=>
true
,
'desc'
=>
'充值金额'
),
),
),
'getIosOrder'
=>
array
(
'getIosOrder'
=>
array
(
'uid'
=>
array
(
'name'
=>
'uid'
,
'type'
=>
'int'
,
'min'
=>
1
,
'require'
=>
true
,
'desc'
=>
'用户ID'
),
'uid'
=>
array
(
'name'
=>
'uid'
,
'type'
=>
'int'
,
'min'
=>
1
,
'require'
=>
true
,
'desc'
=>
'用户ID'
),
'changeid'
=>
array
(
'name'
=>
'changeid'
,
'type'
=>
'string'
,
'require'
=>
true
,
'desc'
=>
'充值规则ID'
),
'changeid'
=>
array
(
'name'
=>
'changeid'
,
'type'
=>
'string'
,
'require'
=>
true
,
'desc'
=>
'充值规则ID'
),
'coin'
=>
array
(
'name'
=>
'coin'
,
'type'
=>
'string'
,
'require'
=>
true
,
'desc'
=>
'
萌豆
'
),
'coin'
=>
array
(
'name'
=>
'coin'
,
'type'
=>
'string'
,
'require'
=>
true
,
'desc'
=>
'
钻石
'
),
'money'
=>
array
(
'name'
=>
'money'
,
'type'
=>
'string'
,
'require'
=>
true
,
'desc'
=>
'充值金额'
),
'money'
=>
array
(
'name'
=>
'money'
,
'type'
=>
'string'
,
'require'
=>
true
,
'desc'
=>
'充值金额'
),
),
),
);
);
}
}
/* 获取订单号 */
/* 获取订单号 */
protected
function
getOrderid
(
$uid
){
protected
function
getOrderid
(
$uid
){
$orderid
=
$uid
.
'_'
.
date
(
'YmdHis'
)
.
rand
(
100
,
999
);
$orderid
=
$uid
.
'_'
.
date
(
'YmdHis'
)
.
rand
(
100
,
999
);
...
@@ -35,13 +35,13 @@ class Api_Charge extends PhalApi_Api {
...
@@ -35,13 +35,13 @@ class Api_Charge extends PhalApi_Api {
* 微信支付
* 微信支付
* @desc 用于 微信支付 获取订单号
* @desc 用于 微信支付 获取订单号
* @return int code 操作码,0表示成功
* @return int code 操作码,0表示成功
* @return array info
* @return array info
* @return string info[0] 支付信息
* @return string info[0] 支付信息
* @return string msg 提示信息
* @return string msg 提示信息
*/
*/
public
function
getWxOrder
()
{
public
function
getWxOrder
()
{
$rs
=
array
(
'code'
=>
0
,
'msg'
=>
''
,
'info'
=>
array
());
$rs
=
array
(
'code'
=>
0
,
'msg'
=>
''
,
'info'
=>
array
());
$uid
=
$this
->
uid
;
$uid
=
$this
->
uid
;
$changeid
=
$this
->
changeid
;
$changeid
=
$this
->
changeid
;
$coin
=
checkNull
(
$this
->
coin
);
$coin
=
checkNull
(
$this
->
coin
);
...
@@ -49,24 +49,24 @@ class Api_Charge extends PhalApi_Api {
...
@@ -49,24 +49,24 @@ class Api_Charge extends PhalApi_Api {
$orderid
=
$this
->
getOrderid
(
$uid
);
$orderid
=
$this
->
getOrderid
(
$uid
);
$type
=
2
;
$type
=
2
;
if
(
$coin
==
0
){
if
(
$coin
==
0
){
$rs
[
'code'
]
=
1002
;
$rs
[
'code'
]
=
1002
;
$rs
[
'msg'
]
=
'信息错误'
;
$rs
[
'msg'
]
=
'信息错误'
;
return
$rs
;
return
$rs
;
}
}
$configpri
=
getConfigPri
();
$configpri
=
getConfigPri
();
$configpub
=
getConfigPub
();
$configpub
=
getConfigPub
();
//配置参数检测
//配置参数检测
if
(
$configpri
[
'wx_appid'
]
==
""
||
$configpri
[
'wx_mchid'
]
==
""
||
$configpri
[
'wx_key'
]
==
""
){
if
(
$configpri
[
'wx_appid'
]
==
""
||
$configpri
[
'wx_mchid'
]
==
""
||
$configpri
[
'wx_key'
]
==
""
){
$rs
[
'code'
]
=
1002
;
$rs
[
'code'
]
=
1002
;
$rs
[
'msg'
]
=
'微信未配置'
;
$rs
[
'msg'
]
=
'微信未配置'
;
return
$rs
;
return
$rs
;
}
}
$orderinfo
=
array
(
$orderinfo
=
array
(
"uid"
=>
$uid
,
"uid"
=>
$uid
,
"touid"
=>
$uid
,
"touid"
=>
$uid
,
...
@@ -78,23 +78,23 @@ class Api_Charge extends PhalApi_Api {
...
@@ -78,23 +78,23 @@ class Api_Charge extends PhalApi_Api {
"addtime"
=>
time
()
"addtime"
=>
time
()
);
);
$domain
=
new
Domain_Charge
();
$domain
=
new
Domain_Charge
();
$info
=
$domain
->
getOrderId
(
$changeid
,
$orderinfo
);
$info
=
$domain
->
getOrderId
(
$changeid
,
$orderinfo
);
if
(
$info
==
1003
){
if
(
$info
==
1003
){
$rs
[
'code'
]
=
1003
;
$rs
[
'code'
]
=
1003
;
$rs
[
'msg'
]
=
'订单信息有误,请重新提交'
;
$rs
[
'msg'
]
=
'订单信息有误,请重新提交'
;
return
$rs
;
return
$rs
;
}
else
if
(
!
$info
){
}
else
if
(
!
$info
){
$rs
[
'code'
]
=
1001
;
$rs
[
'code'
]
=
1001
;
$rs
[
'msg'
]
=
'订单生成失败'
;
$rs
[
'msg'
]
=
'订单生成失败'
;
return
$rs
;
return
$rs
;
}
}
$noceStr
=
md5
(
rand
(
100
,
1000
)
.
time
());
//获取随机字符串
$noceStr
=
md5
(
rand
(
100
,
1000
)
.
time
());
//获取随机字符串
$time
=
time
();
$time
=
time
();
$paramarr
=
array
(
$paramarr
=
array
(
"appid"
=>
$configpri
[
'wx_appid'
],
"appid"
=>
$configpri
[
'wx_appid'
],
"body"
=>
"充值
{
$coin
}
虚拟币"
,
"body"
=>
"充值
{
$coin
}
虚拟币"
,
...
@@ -102,7 +102,7 @@ class Api_Charge extends PhalApi_Api {
...
@@ -102,7 +102,7 @@ class Api_Charge extends PhalApi_Api {
"nonce_str"
=>
$noceStr
,
"nonce_str"
=>
$noceStr
,
"notify_url"
=>
$configpub
[
'site'
]
.
'/Appapi/pay/notify_wx'
,
"notify_url"
=>
$configpub
[
'site'
]
.
'/Appapi/pay/notify_wx'
,
"out_trade_no"
=>
$orderid
,
"out_trade_no"
=>
$orderid
,
"total_fee"
=>
$money
*
100
,
"total_fee"
=>
$money
*
100
,
"trade_type"
=>
"APP"
"trade_type"
=>
"APP"
);
);
$sign
=
$this
->
sign
(
$paramarr
,
$configpri
[
'wx_key'
]);
//生成签名
$sign
=
$this
->
sign
(
$paramarr
,
$configpri
[
'wx_key'
]);
//生成签名
...
@@ -112,10 +112,10 @@ class Api_Charge extends PhalApi_Api {
...
@@ -112,10 +112,10 @@ class Api_Charge extends PhalApi_Api {
$paramXml
.=
"<"
.
$k
.
">"
.
$v
.
"</"
.
$k
.
">"
;
$paramXml
.=
"<"
.
$k
.
">"
.
$v
.
"</"
.
$k
.
">"
;
}
}
$paramXml
.=
"</xml>"
;
$paramXml
.=
"</xml>"
;
$ch
=
curl_init
();
$ch
=
curl_init
();
@
curl_setopt
(
$ch
,
CURLOPT_SSL_VERIFYPEER
,
false
);
// 跳过证书检查
@
curl_setopt
(
$ch
,
CURLOPT_SSL_VERIFYPEER
,
false
);
// 跳过证书检查
@
curl_setopt
(
$ch
,
CURLOPT_SSL_VERIFYHOST
,
true
);
// 从证书中检查SSL加密算法是否存在
@
curl_setopt
(
$ch
,
CURLOPT_SSL_VERIFYHOST
,
true
);
// 从证书中检查SSL加密算法是否存在
@
curl_setopt
(
$ch
,
CURLOPT_URL
,
"https://api.mch.weixin.qq.com/pay/unifiedorder"
);
@
curl_setopt
(
$ch
,
CURLOPT_URL
,
"https://api.mch.weixin.qq.com/pay/unifiedorder"
);
@
curl_setopt
(
$ch
,
CURLOPT_RETURNTRANSFER
,
true
);
@
curl_setopt
(
$ch
,
CURLOPT_RETURNTRANSFER
,
true
);
@
curl_setopt
(
$ch
,
CURLOPT_POST
,
1
);
@
curl_setopt
(
$ch
,
CURLOPT_POST
,
1
);
...
@@ -128,11 +128,11 @@ class Api_Charge extends PhalApi_Api {
...
@@ -128,11 +128,11 @@ class Api_Charge extends PhalApi_Api {
curl_close
(
$ch
);
curl_close
(
$ch
);
$result2
=
$this
->
xmlToArray
(
$resultXmlStr
);
$result2
=
$this
->
xmlToArray
(
$resultXmlStr
);
if
(
$result2
[
'return_code'
]
==
'FAIL'
){
if
(
$result2
[
'return_code'
]
==
'FAIL'
){
$rs
[
'code'
]
=
1005
;
$rs
[
'code'
]
=
1005
;
$rs
[
'msg'
]
=
$result2
[
'return_msg'
];
$rs
[
'msg'
]
=
$result2
[
'return_msg'
];
return
$rs
;
return
$rs
;
}
}
$time2
=
time
();
$time2
=
time
();
$prepayid
=
$result2
[
'prepay_id'
];
$prepayid
=
$result2
[
'prepay_id'
];
...
@@ -147,11 +147,11 @@ class Api_Charge extends PhalApi_Api {
...
@@ -147,11 +147,11 @@ class Api_Charge extends PhalApi_Api {
"timestamp"
=>
$time2
"timestamp"
=>
$time2
);
);
$paramarr2
[
"sign"
]
=
$this
->
sign
(
$paramarr2
,
$configpri
[
'wx_key'
]);
//生成签名
$paramarr2
[
"sign"
]
=
$this
->
sign
(
$paramarr2
,
$configpri
[
'wx_key'
]);
//生成签名
$rs
[
'info'
][
0
]
=
$paramarr2
;
$rs
[
'info'
][
0
]
=
$paramarr2
;
return
$rs
;
return
$rs
;
}
}
/**
/**
* sign拼装获取
* sign拼装获取
*/
*/
...
@@ -163,43 +163,43 @@ class Api_Charge extends PhalApi_Api {
...
@@ -163,43 +163,43 @@ class Api_Charge extends PhalApi_Api {
$sign
.=
"key="
.
$key
;
$sign
.=
"key="
.
$key
;
$sign
=
strtoupper
(
md5
(
$sign
));
$sign
=
strtoupper
(
md5
(
$sign
));
return
$sign
;
return
$sign
;
}
}
/**
/**
* xml转为数组
* xml转为数组
*/
*/
protected
function
xmlToArray
(
$xmlStr
){
protected
function
xmlToArray
(
$xmlStr
){
$msg
=
array
();
$msg
=
array
();
$postStr
=
$xmlStr
;
$postStr
=
$xmlStr
;
$msg
=
(
array
)
simplexml_load_string
(
$postStr
,
'SimpleXMLElement'
,
LIBXML_NOCDATA
);
$msg
=
(
array
)
simplexml_load_string
(
$postStr
,
'SimpleXMLElement'
,
LIBXML_NOCDATA
);
return
$msg
;
return
$msg
;
}
}
/**
/**
* 支付宝支付
* 支付宝支付
* @desc 用于支付宝支付 获取订单号
* @desc 用于支付宝支付 获取订单号
* @return int code 操作码,0表示成功
* @return int code 操作码,0表示成功
* @return array info
* @return array info
* @return string info[0].orderid 订单号
* @return string info[0].orderid 订单号
* @return string msg 提示信息
* @return string msg 提示信息
*/
*/
public
function
getAliOrder
()
{
public
function
getAliOrder
()
{
$rs
=
array
(
'code'
=>
0
,
'msg'
=>
''
,
'info'
=>
array
());
$rs
=
array
(
'code'
=>
0
,
'msg'
=>
''
,
'info'
=>
array
());
$uid
=
$this
->
uid
;
$uid
=
$this
->
uid
;
$changeid
=
$this
->
changeid
;
$changeid
=
$this
->
changeid
;
$coin
=
checkNull
(
$this
->
coin
);
$coin
=
checkNull
(
$this
->
coin
);
$money
=
checkNull
(
$this
->
money
);
$money
=
checkNull
(
$this
->
money
);
$orderid
=
$this
->
getOrderid
(
$uid
);
$orderid
=
$this
->
getOrderid
(
$uid
);
$type
=
1
;
$type
=
1
;
if
(
$coin
==
0
){
if
(
$coin
==
0
){
$rs
[
'code'
]
=
1002
;
$rs
[
'code'
]
=
1002
;
$rs
[
'msg'
]
=
'信息错误'
;
$rs
[
'msg'
]
=
'信息错误'
;
return
$rs
;
return
$rs
;
}
}
$orderinfo
=
array
(
$orderinfo
=
array
(
"uid"
=>
$uid
,
"uid"
=>
$uid
,
"touid"
=>
$uid
,
"touid"
=>
$uid
,
...
@@ -210,7 +210,7 @@ class Api_Charge extends PhalApi_Api {
...
@@ -210,7 +210,7 @@ class Api_Charge extends PhalApi_Api {
"status"
=>
0
,
"status"
=>
0
,
"addtime"
=>
time
()
"addtime"
=>
time
()
);
);
$domain
=
new
Domain_Charge
();
$domain
=
new
Domain_Charge
();
$info
=
$domain
->
getOrderId
(
$changeid
,
$orderinfo
);
$info
=
$domain
->
getOrderId
(
$changeid
,
$orderinfo
);
if
(
$info
==
1003
){
if
(
$info
==
1003
){
...
@@ -220,38 +220,38 @@ class Api_Charge extends PhalApi_Api {
...
@@ -220,38 +220,38 @@ class Api_Charge extends PhalApi_Api {
$rs
[
'code'
]
=
1001
;
$rs
[
'code'
]
=
1001
;
$rs
[
'msg'
]
=
'订单生成失败'
;
$rs
[
'msg'
]
=
'订单生成失败'
;
}
}
$rs
[
'info'
][
0
][
'orderid'
]
=
$orderid
;
$rs
[
'info'
][
0
][
'orderid'
]
=
$orderid
;
return
$rs
;
return
$rs
;
}
}
/**
/**
* 苹果支付
* 苹果支付
* @desc 用于苹果支付 获取订单号
* @desc 用于苹果支付 获取订单号
* @return int code 操作码,0表示成功
* @return int code 操作码,0表示成功
* @return array info
* @return array info
* @return string info[0].orderid 订单号
* @return string info[0].orderid 订单号
* @return string msg 提示信息
* @return string msg 提示信息
*/
*/
public
function
getIosOrder
()
{
public
function
getIosOrder
()
{
$rs
=
array
(
'code'
=>
0
,
'msg'
=>
''
,
'info'
=>
array
());
$rs
=
array
(
'code'
=>
0
,
'msg'
=>
''
,
'info'
=>
array
());
$uid
=
$this
->
uid
;
$uid
=
$this
->
uid
;
$changeid
=
$this
->
changeid
;
$changeid
=
$this
->
changeid
;
$coin
=
checkNull
(
$this
->
coin
);
$coin
=
checkNull
(
$this
->
coin
);
$money
=
checkNull
(
$this
->
money
);
$money
=
checkNull
(
$this
->
money
);
$orderid
=
$this
->
getOrderid
(
$uid
);
$orderid
=
$this
->
getOrderid
(
$uid
);
$type
=
3
;
$type
=
3
;
if
(
$coin
==
0
){
if
(
$coin
==
0
){
$rs
[
'code'
]
=
1002
;
$rs
[
'code'
]
=
1002
;
$rs
[
'msg'
]
=
'信息错误'
;
$rs
[
'msg'
]
=
'信息错误'
;
return
$rs
;
return
$rs
;
}
}
$configpri
=
getConfigPri
();
$configpri
=
getConfigPri
();
$orderinfo
=
array
(
$orderinfo
=
array
(
"uid"
=>
$uid
,
"uid"
=>
$uid
,
"touid"
=>
$uid
,
"touid"
=>
$uid
,
...
@@ -263,7 +263,7 @@ class Api_Charge extends PhalApi_Api {
...
@@ -263,7 +263,7 @@ class Api_Charge extends PhalApi_Api {
"addtime"
=>
time
(),
"addtime"
=>
time
(),
"ambient"
=>
$configpri
[
'ios_sandbox'
]
"ambient"
=>
$configpri
[
'ios_sandbox'
]
);
);
$domain
=
new
Domain_Charge
();
$domain
=
new
Domain_Charge
();
$info
=
$domain
->
getOrderId
(
$changeid
,
$orderinfo
);
$info
=
$domain
->
getOrderId
(
$changeid
,
$orderinfo
);
if
(
$info
==
1003
){
if
(
$info
==
1003
){
...
@@ -276,8 +276,8 @@ class Api_Charge extends PhalApi_Api {
...
@@ -276,8 +276,8 @@ class Api_Charge extends PhalApi_Api {
$rs
[
'info'
][
0
][
'orderid'
]
=
$orderid
;
$rs
[
'info'
][
0
][
'orderid'
]
=
$orderid
;
return
$rs
;
return
$rs
;
}
}
}
}
api/Appapi/Api/Home.php
View file @
391eafab
...
@@ -153,6 +153,10 @@ class Api_Home extends PhalApi_Api {
...
@@ -153,6 +153,10 @@ class Api_Home extends PhalApi_Api {
$info
[
'guide'
]
=
$guide_info
;
$info
[
'guide'
]
=
$guide_info
;
// 福利袋
$welfare
=
DI
()
->
notorm
->
welfare_rate
->
select
(
'rate'
)
->
where
(
'id=1'
)
->
fetchOne
();
$info
[
'welfare_price'
]
=
$welfare
[
'rate'
];
$rs
[
'info'
][
0
]
=
$info
;
$rs
[
'info'
][
0
]
=
$info
;
return
$rs
;
return
$rs
;
...
...
api/Appapi/Api/Live.php
View file @
391eafab
...
@@ -219,18 +219,18 @@ class Api_Live extends PhalApi_Api {
...
@@ -219,18 +219,18 @@ class Api_Live extends PhalApi_Api {
return
$rs
;
return
$rs
;
}
}
protected
function
getbaiming
(
$uid
)
protected
function
getbaiming
(
$uid
)
{
{
$domain
=
new
Domain_Home
();
$domain
=
new
Domain_Home
();
$res
=
$domain
->
wealth
(
'day'
);
$res
=
$domain
->
star
(
'day'
);
$i
=
0
;
$i
=
99
;
foreach
(
$res
as
$key
=>
$r
){
foreach
(
$res
as
$key
=>
$r
){
if
(
$r
[
'uid'
]
==
$uid
)
{
if
(
$r
[
'uid'
]
==
$uid
)
{
$i
=
$key
+
1
;
$i
=
$key
;
break
;
break
;
}
}
}
}
return
$i
;
return
$i
+
1
;
}
}
/**
/**
...
...
api/Appapi/Api/Red.php
View file @
391eafab
This diff is collapsed.
Click to expand it.
api/Appapi/Api/User.php
View file @
391eafab
...
@@ -940,15 +940,9 @@ class Api_User extends PhalApi_Api {
...
@@ -940,15 +940,9 @@ class Api_User extends PhalApi_Api {
return
$rs
;
return
$rs
;
}
}
if
(
!
$accountid
){
if
(
$cashvote
<=
0
){
$rs
[
'code'
]
=
1001
;
$rs
[
'msg'
]
=
'请选择提现账号'
;
return
$rs
;
}
if
(
!
$cashvote
){
$rs
[
'code'
]
=
1002
;
$rs
[
'code'
]
=
1002
;
$rs
[
'msg'
]
=
'请输入有效的提现
票数
'
;
$rs
[
'msg'
]
=
'请输入有效的提现
金额
'
;
return
$rs
;
return
$rs
;
}
}
...
...
api/Appapi/Model/Live.php
View file @
391eafab
...
@@ -308,7 +308,7 @@ class Model_Live extends PhalApi_Model_NotORM {
...
@@ -308,7 +308,7 @@ class Model_Live extends PhalApi_Model_NotORM {
if
(
$islive
[
'type'
]
==
1
){
if
(
$islive
[
'type'
]
==
1
){
$rs
[
'type_msg'
]
=
md5
(
$islive
[
'type_val'
]);
$rs
[
'type_msg'
]
=
md5
(
$islive
[
'type_val'
]);
}
else
if
(
$islive
[
'type'
]
==
2
){
}
else
if
(
$islive
[
'type'
]
==
2
){
$rs
[
'type_msg'
]
=
'本房间为收费房间,需支付'
.
$islive
[
'type_val'
]
.
'
萌豆
'
;
$rs
[
'type_msg'
]
=
'本房间为收费房间,需支付'
.
$islive
[
'type_val'
]
.
'
钻石
'
;
$rs
[
'type_val'
]
=
$islive
[
'type_val'
];
$rs
[
'type_val'
]
=
$islive
[
'type_val'
];
$isexist
=
DI
()
->
notorm
->
users_coinrecord
$isexist
=
DI
()
->
notorm
->
users_coinrecord
->
select
(
'id'
)
->
select
(
'id'
)
...
@@ -321,7 +321,7 @@ class Model_Live extends PhalApi_Model_NotORM {
...
@@ -321,7 +321,7 @@ class Model_Live extends PhalApi_Model_NotORM {
}
}
}
else
if
(
$islive
[
'type'
]
==
3
){
}
else
if
(
$islive
[
'type'
]
==
3
){
$rs
[
'type_val'
]
=
$islive
[
'type_val'
];
$rs
[
'type_val'
]
=
$islive
[
'type_val'
];
$rs
[
'type_msg'
]
=
'本房间为计时房间,每分钟需支付'
.
$islive
[
'type_val'
]
.
'
萌豆
'
;
$rs
[
'type_msg'
]
=
'本房间为计时房间,每分钟需支付'
.
$islive
[
'type_val'
]
.
'
钻石
'
;
}
}
return
$rs
;
return
$rs
;
...
@@ -524,8 +524,8 @@ class Model_Live extends PhalApi_Model_NotORM {
...
@@ -524,8 +524,8 @@ class Model_Live extends PhalApi_Model_NotORM {
}
}
$welfare
=
DI
()
->
notorm
->
welfare_rate
->
select
(
'rate'
)
->
where
(
'id=1'
)
->
fetchOne
();
$welfare
=
DI
()
->
notorm
->
welfare_rate
->
select
(
'rate'
)
->
where
(
'id=1'
)
->
fetchOne
();
$giftinfo
=
[
$giftinfo
=
[
'type'
=>
0
,
'type'
=>
1
,
'mark'
=>
0
,
'mark'
=>
4
,
'giftname'
=>
'福利袋'
,
'giftname'
=>
'福利袋'
,
'gifticon'
=>
'http://qiniu.huad.leacho.cn/20190723/5d367483cb9ac.png'
,
'gifticon'
=>
'http://qiniu.huad.leacho.cn/20190723/5d367483cb9ac.png'
,
'needcoin'
=>
$welfare
[
'rate'
],
'needcoin'
=>
$welfare
[
'rate'
],
...
@@ -864,6 +864,27 @@ class Model_Live extends PhalApi_Model_NotORM {
...
@@ -864,6 +864,27 @@ class Model_Live extends PhalApi_Model_NotORM {
"addtime"
=>
$addtime
"addtime"
=>
$addtime
);
);
DI
()
->
notorm
->
users_coinrecord
->
insert
(
$insert
);
DI
()
->
notorm
->
users_coinrecord
->
insert
(
$insert
);
$luckcoin2
=
(
int
)(
$luckcoin
*
0.05
*
100
);
$luckcoin3
=
$luckcoin2
/
100
;
if
(
$luckcoin3
>
0
)
{
DI
()
->
notorm
->
users
->
where
(
'id = ?'
,
$liveuid
)
->
update
(
array
(
'votes'
=>
new
NotORM_Literal
(
"votes +
{
$luckcoin3
}
"
),
'votestotal'
=>
new
NotORM_Literal
(
"votestotal +
{
$luckcoin3
}
"
)
));
$insert
=
array
(
"type"
=>
'income'
,
"action"
=>
'luckgift'
,
"uid"
=>
$liveuid
,
"touid"
=>
$liveuid
,
"giftid"
=>
$giftid
,
"giftcount"
=>
$lucktimes
,
"totalcoin"
=>
$luckcoin
,
"showid"
=>
$showid
,
"mark"
=>
$giftinfo
[
'mark'
],
"addtime"
=>
$addtime
);
DI
()
->
notorm
->
users_coinrecord
->
insert
(
$insert
);
}
break
;
break
;
}
}
}
}
...
...
api/Appapi/Model/User.php
View file @
391eafab
...
@@ -157,12 +157,10 @@ class Model_User extends PhalApi_Model_NotORM
...
@@ -157,12 +157,10 @@ class Model_User extends PhalApi_Model_NotORM
/* 提现 */
/* 提现 */
public
function
setCash
(
$data
)
public
function
setCash
(
$data
)
{
{
$nowtime
=
time
();
$nowtime
=
time
();
$uid
=
$data
[
'uid'
];
$uid
=
$data
[
'uid'
];
$accountid
=
$data
[
'accountid'
];
$accountid
=
$data
[
'accountid'
];
$
cashvote
=
$data
[
'cashvote'
];
$
money
=
$data
[
'cashvote'
];
$config
=
getConfigPri
();
$config
=
getConfigPri
();
$cash_start
=
$config
[
'cash_start'
];
$cash_start
=
$config
[
'cash_start'
];
...
@@ -195,7 +193,7 @@ class Model_User extends PhalApi_Model_NotORM
...
@@ -195,7 +193,7 @@ class Model_User extends PhalApi_Model_NotORM
}
}
/* 钱包信息 */
/* 钱包信息 */
$accountinfo
=
DI
()
->
notorm
->
cmf_users_info_auth
->
select
(
"*"
)
->
where
(
'uid=? and status=?'
,
$uid
,
1
)
->
andWhere
(
)
->
fetchOne
();
$accountinfo
=
DI
()
->
notorm
->
users_info_auth
->
where
(
"uid=
{
$uid
}
and status=1"
)
->
fetchOne
();
if
(
!
$accountinfo
)
{
if
(
!
$accountinfo
)
{
return
1007
;
return
1007
;
}
}
...
@@ -206,7 +204,7 @@ class Model_User extends PhalApi_Model_NotORM
...
@@ -206,7 +204,7 @@ class Model_User extends PhalApi_Model_NotORM
$cash_min
=
$config
[
'cash_min'
];
$cash_min
=
$config
[
'cash_min'
];
//提现钱数
//提现钱数
$money
=
floor
(
$cashvote
/
$cash_rate
);
//
$money = floor($cashvote / $cash_rate);
if
(
$money
<
$cash_min
)
{
if
(
$money
<
$cash_min
)
{
return
1004
;
return
1004
;
...
@@ -221,16 +219,16 @@ class Model_User extends PhalApi_Model_NotORM
...
@@ -221,16 +219,16 @@ class Model_User extends PhalApi_Model_NotORM
$name
=
$account
=
$account_bank
=
''
;
$name
=
$account
=
$account_bank
=
''
;
if
(
$accountid
==
1
)
{
if
(
$accountid
==
0
)
{
$account
=
$accountinfo
[
'account'
];
$account
=
$accountinfo
[
'account'
];
$name
=
$accountinfo
[
'username'
];
$name
=
$accountinfo
[
'username'
];
}
}
//
// if ($accountid == 2) {
// return 1007;
// }
if
(
$accountid
==
2
)
{
if
(
$accountid
==
1
)
{
return
1007
;
}
if
(
$accountid
==
3
)
{
$name
=
$accountinfo
[
'name'
];
$name
=
$accountinfo
[
'name'
];
$account
=
$accountinfo
[
'bank_card'
];
$account
=
$accountinfo
[
'bank_card'
];
$account_bank
=
$accountinfo
[
'bank_province'
]
.
$accountinfo
[
'bank_city'
];
$account_bank
=
$accountinfo
[
'bank_province'
]
.
$accountinfo
[
'bank_city'
];
...
...
application/Admin/Controller/CashController.class.php
View file @
391eafab
...
@@ -7,9 +7,9 @@ namespace Admin\Controller;
...
@@ -7,9 +7,9 @@ namespace Admin\Controller;
use
Common\Controller\AdminbaseController
;
use
Common\Controller\AdminbaseController
;
class
CashController
extends
AdminbaseController
{
class
CashController
extends
AdminbaseController
{
var
$type
=
array
(
var
$type
=
array
(
'
1
'
=>
'支付宝'
,
'
0
'
=>
'支付宝'
,
'2'
=>
'微信'
,
'2'
=>
'微信'
,
'
3
'
=>
'银行卡'
,
'
1
'
=>
'银行卡'
,
);
);
function
index
(){
function
index
(){
...
@@ -22,24 +22,24 @@ class CashController extends AdminbaseController {
...
@@ -22,24 +22,24 @@ class CashController extends AdminbaseController {
$map
[
'addtime'
]
=
array
(
"gt"
,
strtotime
(
$_REQUEST
[
'start_time'
]));
$map
[
'addtime'
]
=
array
(
"gt"
,
strtotime
(
$_REQUEST
[
'start_time'
]));
$_GET
[
'start_time'
]
=
$_REQUEST
[
'start_time'
];
$_GET
[
'start_time'
]
=
$_REQUEST
[
'start_time'
];
}
}
if
(
$_REQUEST
[
'end_time'
]
!=
''
){
if
(
$_REQUEST
[
'end_time'
]
!=
''
){
$map
[
'addtime'
]
=
array
(
"lt"
,
strtotime
(
$_REQUEST
[
'end_time'
]));
$map
[
'addtime'
]
=
array
(
"lt"
,
strtotime
(
$_REQUEST
[
'end_time'
]));
$_GET
[
'end_time'
]
=
$_REQUEST
[
'end_time'
];
$_GET
[
'end_time'
]
=
$_REQUEST
[
'end_time'
];
}
}
if
(
$_REQUEST
[
'start_time'
]
!=
''
&&
$_REQUEST
[
'end_time'
]
!=
''
){
if
(
$_REQUEST
[
'start_time'
]
!=
''
&&
$_REQUEST
[
'end_time'
]
!=
''
){
$map
[
'addtime'
]
=
array
(
"between"
,
array
(
strtotime
(
$_REQUEST
[
'start_time'
]),
strtotime
(
$_REQUEST
[
'end_time'
])));
$map
[
'addtime'
]
=
array
(
"between"
,
array
(
strtotime
(
$_REQUEST
[
'start_time'
]),
strtotime
(
$_REQUEST
[
'end_time'
])));
$_GET
[
'start_time'
]
=
$_REQUEST
[
'start_time'
];
$_GET
[
'start_time'
]
=
$_REQUEST
[
'start_time'
];
$_GET
[
'end_time'
]
=
$_REQUEST
[
'end_time'
];
$_GET
[
'end_time'
]
=
$_REQUEST
[
'end_time'
];
}
}
if
(
$_REQUEST
[
'keyword'
]
!=
''
){
if
(
$_REQUEST
[
'keyword'
]
!=
''
){
$map
[
'uid|orderno|trade_no'
]
=
array
(
"like"
,
"%"
.
$_REQUEST
[
'keyword'
]
.
"%"
);
$map
[
'uid|orderno|trade_no'
]
=
array
(
"like"
,
"%"
.
$_REQUEST
[
'keyword'
]
.
"%"
);
$_GET
[
'keyword'
]
=
$_REQUEST
[
'keyword'
];
$_GET
[
'keyword'
]
=
$_REQUEST
[
'keyword'
];
}
}
$cashrecord
=
M
(
"users_cashrecord"
);
$cashrecord
=
M
(
"users_cashrecord"
);
$count
=
$cashrecord
->
where
(
$map
)
->
count
();
$count
=
$cashrecord
->
where
(
$map
)
->
count
();
$page
=
$this
->
page
(
$count
,
20
);
$page
=
$this
->
page
(
$count
,
20
);
...
@@ -50,17 +50,17 @@ class CashController extends AdminbaseController {
...
@@ -50,17 +50,17 @@ class CashController extends AdminbaseController {
->
select
();
->
select
();
foreach
(
$lists
as
$k
=>
$v
){
foreach
(
$lists
as
$k
=>
$v
){
$userinfo
=
M
(
"users"
)
->
field
(
"user_nicename"
)
->
where
(
"id='
$v[uid]
'"
)
->
find
();
$userinfo
=
M
(
"users"
)
->
field
(
"user_nicename"
)
->
where
(
"id='
$v[uid]
'"
)
->
find
();
$lists
[
$k
][
'userinfo'
]
=
$userinfo
;
$lists
[
$k
][
'userinfo'
]
=
$userinfo
;
}
}
$cashrecord_total
=
$cashrecord
->
where
(
$map
)
->
sum
(
"money"
);
$cashrecord_total
=
$cashrecord
->
where
(
$map
)
->
sum
(
"money"
);
if
(
$_REQUEST
[
'status'
]
==
''
)
if
(
$_REQUEST
[
'status'
]
==
''
)
{
{
$success
=
$map
;
$success
=
$map
;
$success
[
'status'
]
=
1
;
$success
[
'status'
]
=
1
;
$fail
=
$map
;
$fail
=
$map
;
$fail
[
'status'
]
=
0
;
$fail
[
'status'
]
=
0
;
$cashrecord_success
=
$cashrecord
->
where
(
$success
)
->
sum
(
"money"
);
$cashrecord_success
=
$cashrecord
->
where
(
$success
)
->
sum
(
"money"
);
$cashrecord_fail
=
$cashrecord
->
where
(
$fail
)
->
sum
(
"money"
);
$cashrecord_fail
=
$cashrecord
->
where
(
$fail
)
->
sum
(
"money"
);
$cash
[
'success'
]
=
$cashrecord_success
;
$cash
[
'success'
]
=
$cashrecord_success
;
$cash
[
'fail'
]
=
$cashrecord_fail
;
$cash
[
'fail'
]
=
$cashrecord_fail
;
$cash
[
'type'
]
=
0
;
$cash
[
'type'
]
=
0
;
...
@@ -71,52 +71,52 @@ class CashController extends AdminbaseController {
...
@@ -71,52 +71,52 @@ class CashController extends AdminbaseController {
$this
->
assign
(
'formget'
,
$_GET
);
$this
->
assign
(
'formget'
,
$_GET
);
$this
->
assign
(
'type'
,
$this
->
type
);
$this
->
assign
(
'type'
,
$this
->
type
);
$this
->
assign
(
"page"
,
$page
->
show
(
'Admin'
));
$this
->
assign
(
"page"
,
$page
->
show
(
'Admin'
));
$this
->
display
();
$this
->
display
();
}
}
function
del
(){
function
del
(){
$id
=
intval
(
$_GET
[
'id'
]);
$id
=
intval
(
$_GET
[
'id'
]);
if
(
$id
){
if
(
$id
){
$result
=
M
(
"users_cashrecord"
)
->
delete
(
$id
);
$result
=
M
(
"users_cashrecord"
)
->
delete
(
$id
);
if
(
$result
){
if
(
$result
){
$action
=
"删除提现记录:
{
$id
}
"
;
$action
=
"删除提现记录:
{
$id
}
"
;
setAdminLog
(
$action
);
setAdminLog
(
$action
);
$this
->
success
(
'删除成功'
);
$this
->
success
(
'删除成功'
);
}
else
{
}
else
{
$this
->
error
(
'删除失败'
);
$this
->
error
(
'删除失败'
);
}
}
}
else
{
}
else
{
$this
->
error
(
'数据传入失败!'
);
$this
->
error
(
'数据传入失败!'
);
}
}
$this
->
display
();
$this
->
display
();
}
}
function
edit
(){
function
edit
(){
$id
=
intval
(
$_GET
[
'id'
]);
$id
=
intval
(
$_GET
[
'id'
]);
if
(
$id
){
if
(
$id
){
$cash
=
M
(
"users_cashrecord"
)
->
find
(
$id
);
$cash
=
M
(
"users_cashrecord"
)
->
find
(
$id
);
$cash
[
'userinfo'
]
=
M
(
"users"
)
->
field
(
"user_nicename"
)
->
where
(
"id='
$cash[uid]
'"
)
->
find
();
$cash
[
'userinfo'
]
=
M
(
"users"
)
->
field
(
"user_nicename"
)
->
where
(
"id='
$cash[uid]
'"
)
->
find
();
$cash
[
'auth'
]
=
M
(
"users_auth"
)
->
field
(
"*"
)
->
where
(
"uid='
$cash[uid]
'"
)
->
find
();
$cash
[
'auth'
]
=
M
(
"users_auth"
)
->
field
(
"*"
)
->
where
(
"uid='
$cash[uid]
'"
)
->
find
();
$this
->
assign
(
'cash'
,
$cash
);
$this
->
assign
(
'cash'
,
$cash
);
$this
->
assign
(
'type'
,
$this
->
type
);
$this
->
assign
(
'type'
,
$this
->
type
);
}
else
{
}
else
{
$this
->
error
(
'数据传入失败!'
);
$this
->
error
(
'数据传入失败!'
);
}
}
$this
->
display
();
$this
->
display
();
}
}
function
edit_post
(){
function
edit_post
(){
if
(
IS_POST
){
if
(
IS_POST
){
if
(
$_POST
[
'status'
]
==
'0'
){
if
(
$_POST
[
'status'
]
==
'0'
){
$this
->
error
(
'未修改订单状态'
);
$this
->
error
(
'未修改订单状态'
);
}
}
$cash
=
M
(
"users_cashrecord"
);
$cash
=
M
(
"users_cashrecord"
);
$cash
->
create
();
$cash
->
create
();
$cash
->
uptime
=
time
();
$cash
->
uptime
=
time
();
$result
=
$cash
->
save
();
$result
=
$cash
->
save
();
if
(
$result
){
if
(
$result
){
if
(
$_POST
[
'status'
]
==
'2'
){
if
(
$_POST
[
'status'
]
==
'2'
){
M
(
"users"
)
->
where
(
"id='"
.
$_POST
[
'uid'
]
.
"'"
)
->
setInc
(
"votes"
,
$_POST
[
'votes'
]);
M
(
"users"
)
->
where
(
"id='"
.
$_POST
[
'uid'
]
.
"'"
)
->
setInc
(
"votes"
,
$_POST
[
'votes'
]);
...
@@ -131,7 +131,7 @@ class CashController extends AdminbaseController {
...
@@ -131,7 +131,7 @@ class CashController extends AdminbaseController {
}
else
{
}
else
{
$this
->
error
(
'修改失败'
);
$this
->
error
(
'修改失败'
);
}
}
}
}
}
}
function
export
()
function
export
()
{
{
...
@@ -140,15 +140,15 @@ class CashController extends AdminbaseController {
...
@@ -140,15 +140,15 @@ class CashController extends AdminbaseController {
}
}
if
(
$_REQUEST
[
'start_time'
]
!=
''
){
if
(
$_REQUEST
[
'start_time'
]
!=
''
){
$map
[
'addtime'
]
=
array
(
"gt"
,
strtotime
(
$_REQUEST
[
'start_time'
]));
$map
[
'addtime'
]
=
array
(
"gt"
,
strtotime
(
$_REQUEST
[
'start_time'
]));
}
}
if
(
$_REQUEST
[
'end_time'
]
!=
''
){
if
(
$_REQUEST
[
'end_time'
]
!=
''
){
$map
[
'addtime'
]
=
array
(
"lt"
,
strtotime
(
$_REQUEST
[
'end_time'
]));
$map
[
'addtime'
]
=
array
(
"lt"
,
strtotime
(
$_REQUEST
[
'end_time'
]));
}
}
if
(
$_REQUEST
[
'start_time'
]
!=
''
&&
$_REQUEST
[
'end_time'
]
!=
''
){
if
(
$_REQUEST
[
'start_time'
]
!=
''
&&
$_REQUEST
[
'end_time'
]
!=
''
){
$map
[
'addtime'
]
=
array
(
"between"
,
array
(
strtotime
(
$_REQUEST
[
'start_time'
]),
strtotime
(
$_REQUEST
[
'end_time'
])));
$map
[
'addtime'
]
=
array
(
"between"
,
array
(
strtotime
(
$_REQUEST
[
'start_time'
]),
strtotime
(
$_REQUEST
[
'end_time'
])));
}
}
if
(
$_REQUEST
[
'keyword'
]
!=
''
){
if
(
$_REQUEST
[
'keyword'
]
!=
''
){
$map
[
'uid|orderno|trade_no'
]
=
array
(
"like"
,
"%"
.
$_REQUEST
[
'keyword'
]
.
"%"
);
$map
[
'uid|orderno|trade_no'
]
=
array
(
"like"
,
"%"
.
$_REQUEST
[
'keyword'
]
.
"%"
);
}
}
$xlsName
=
"Excel"
;
$xlsName
=
"Excel"
;
$cashrecord
=
M
(
"users_cashrecord"
);
$cashrecord
=
M
(
"users_cashrecord"
);
...
@@ -157,9 +157,9 @@ class CashController extends AdminbaseController {
...
@@ -157,9 +157,9 @@ class CashController extends AdminbaseController {
{
{
$userinfo
=
M
(
"users"
)
->
field
(
"user_nicename"
)
->
where
(
"id='
$v[uid]
'"
)
->
find
();
$userinfo
=
M
(
"users"
)
->
field
(
"user_nicename"
)
->
where
(
"id='
$v[uid]
'"
)
->
find
();
$xlsData
[
$k
][
'user_nicename'
]
=
$userinfo
[
'user_nicename'
]
.
"("
.
$v
[
'uid'
]
.
")"
;
$xlsData
[
$k
][
'user_nicename'
]
=
$userinfo
[
'user_nicename'
]
.
"("
.
$v
[
'uid'
]
.
")"
;
$xlsData
[
$k
][
'addtime'
]
=
date
(
"Y-m-d H:i:s"
,
$v
[
'addtime'
]);
$xlsData
[
$k
][
'addtime'
]
=
date
(
"Y-m-d H:i:s"
,
$v
[
'addtime'
]);
$xlsData
[
$k
][
'uptime'
]
=
date
(
"Y-m-d H:i:s"
,
$v
[
'uptime'
]);
$xlsData
[
$k
][
'uptime'
]
=
date
(
"Y-m-d H:i:s"
,
$v
[
'uptime'
]);
if
(
$v
[
'status'
]
==
'0'
){
$xlsData
[
$k
][
'status'
]
=
"处理中"
;}
else
if
(
$v
[
'status'
]
==
'2'
){
$xlsData
[
$k
][
'status'
]
=
"提现失败"
;}
else
{
$xlsData
[
$k
][
'status'
]
=
"提现完成"
;}
if
(
$v
[
'status'
]
==
'0'
){
$xlsData
[
$k
][
'status'
]
=
"处理中"
;}
else
if
(
$v
[
'status'
]
==
'2'
){
$xlsData
[
$k
][
'status'
]
=
"提现失败"
;}
else
{
$xlsData
[
$k
][
'status'
]
=
"提现完成"
;}
}
}
$action
=
"导出提现记录:"
.
M
(
"users_cashrecord"
)
->
getLastSql
();
$action
=
"导出提现记录:"
.
M
(
"users_cashrecord"
)
->
getLastSql
();
setAdminLog
(
$action
);
setAdminLog
(
$action
);
...
@@ -176,5 +176,5 @@ class CashController extends AdminbaseController {
...
@@ -176,5 +176,5 @@ class CashController extends AdminbaseController {
);
);
exportExcel
(
$xlsName
,
$xlsCell
,
$xlsData
,
$cellName
);
exportExcel
(
$xlsName
,
$xlsCell
,
$xlsData
,
$cellName
);
}
}
}
}
themes/simplebootx/Appapi/Family/member_search.html
View file @
391eafab
...
@@ -64,7 +64,6 @@
...
@@ -64,7 +64,6 @@
},
'json'
);
},
'json'
);
},
},
add
:
function
(
id
)
{
add
:
function
(
id
)
{
layer
.
msg
(
"申请错误!"
);
$
.
ajax
({
$
.
ajax
({
url
:
'/index.php?g=Appapi&m=Family&a=member_add'
,
url
:
'/index.php?g=Appapi&m=Family&a=member_add'
,
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