💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
>[danger]钱包支付订单 date:2018/12/28 17:51 >[info]4=用户自己微信充值, 【完】(测试通过) >07【新订单-后台充值】=后台充值 【完】(测试通过) >11【新订单-购卡返现】= 购买会员卡返现 (只是钱包)【完】 (测试通过) >ninty9api/service/WxNotify/addUserPurse 订单类型: >[info]0=会员卡(只有微信支付) ```` 不涉及钱包 ```` >[danger]1=团课 (微信+钱包+前台) ```` 钱包支付 ```` >[success]2=营养餐, (删) >[danger]3=私教, (微信+钱包+前台) ```` 钱包支付 ```` >[info]4=用户自己微信充值, (微信) ```` ninty9api/ShopOrders/addOrderUserPurse ```` >[info]5=购买店内商品 ```` ninty9api/ShopOrders/addOrderFitness ```` >[success]6=分期卡还款 (微信) >[info]7=后台充值 (微信) ```` adminapi/orders/addOrderUserPurse ```` >[success]8=分期卡还款 (微信) >[success]9=付费文章 (微信) >[success]10=培训报名 (微信) >[info]11= 购买会员卡返现 (只是钱包) ```` 【新订单-购卡返现】 ninty9api/service/WxNotify.php/addUserPurse ```` ~~~ //修改订单状态 $shopOrdersFind = \app\adminapi\model\ShopOrders::where('id',$order_id)->find(); $shopOrdersFind->pay_time = date('Y-m-d H:i:s'); // 手动支付 $shopOrdersFind->pay_type = 'MANUAL'; $shopOrdersFind->status = 3; $shopOrdersFind->refund_status = 0; $shopOrdersFind->save(); ~~~ ~~~ $order_id = \app\adminapi\model\ShopOrders::insertShopOrderGoods($user_id, $types, $user_type, $total_price, $company_id, $fitness_id, $phone , $subject, $message, $shop_id = 0, $goods_name, $total_price, $shop_num, $goods_image); // $order_id = \app\adminapi\model\ShopOrders::insertOrder($user_id, $types, $user_type, $total_price, $company_id, $fitness_id, $phone // , $subject, $message); // // $shopOrdersGoods = ShopOrdersGoods::insertOrderGoods($order_id, $company_id, $spu_id = '0', $sku_id = '0', $goods_name, $total_price, // $goods_num, $goods_image); ~~~