feat/task1-c-wallet
devil_gong 2018-09-28 15:37:54 +08:00
parent 30414c1b46
commit d8958a2a51
1 changed files with 1 additions and 0 deletions

View File

@ -172,6 +172,7 @@ class OrderService
$m = M('Order');
$where = ['id'=>self::OutTradeNoParsing($params['out_trade_no'])];
$data = $m->where($where)->field('id,status,total_price,payment_id,user_id,shop_id')->find();
file_put_contents('/data/www/project/shopxo/service/dddddd.txt', json_encode($data));
if(empty($data))
{
return DataReturn(L('common_data_no_exist_error'), -1);