| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 | <?php/** * Created by PhpStorm. * User: tandunzhao * Date: 2017/12/7 * Time: 下午6:03 */namespace App\Http\Controllers\Manage\Finance;use App\Http\Controllers\Manage\Finance\Transformers\LiquidatedStatTransformer;use App\Modules\Finance\Services\LiquidatedStatService;use Illuminate\Http\Request;class LiquidatedStatController extends BaseController{    /**     * @apiDefine Finance 结算提现模块     */    /**     * @apiVersion 1.0.0     * @apiDescription 获取清算汇总列表     * @api {GET} LiquidatedStat/list 获取清算汇总列表     * @apiGroup Finance     * @apiName LiquidatedStat/list     * @apiSuccess   {String}  pay_merchant_source 渠道支付     * @apiSuccess   {String}  pay_merchant_source_name 渠道支付     * @apiSuccess   {Number}  amount 清算金额.     * @apiSuccessExample {json} Success-Response:     *     *     {     *         "code": 0,     *         "msg": "",     *         "data":     *              [     *                  {     *                    "pay_merchant_source": "ALIPAY",     *                    "pay_merchant_source_name": "通联支付",     *                    "amount": "15.6000"     *                  }     *              ]     *     }     */    function get_list(Request $request) {        $result = LiquidatedStatService::getLiquidatedStatList();        return response()->collection(new LiquidatedStatTransformer(), $result);    }}
 |