mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2026-07-04 21:03:27 +08:00
积分赠送脚本优化
This commit is contained in:
@ -70,7 +70,11 @@ class Crontab extends Common
|
||||
public function GoodsGiveIntegral()
|
||||
{
|
||||
$ret = CrontabService::GoodsGiveIntegral();
|
||||
return 'sucs:'.$ret['data']['sucs'].', fail:'.$ret['data']['fail'];
|
||||
if($ret['code'] == 0)
|
||||
{
|
||||
return 'sucs:'.$ret['data']['sucs'].', fail:'.$ret['data']['fail'];
|
||||
}
|
||||
return $ret['msg'];
|
||||
}
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user