package com.jwipc.shopping.constant;

import com.dtflys.forest.annotation.JSONBody;
import com.dtflys.forest.annotation.Post;
import com.dtflys.forest.converter.json.GsonEncoder;
import com.jwipc.api.dto.ApiResult;
import com.jwipc.api.interceptor.OAInterceptor;
import com.jwipc.log.annotation.ApiOperateLog;
import com.jwipc.log.constant.ApiDirection;
import com.jwipc.log.constant.ThirdSysType;
import com.jwipc.shopping.model.po.ShoppingPayOA;

/**
 * <p> </p>
 *
 * @author ZhangJie
 * @version 1.0
 * @since JDK 1.8
 */
public interface ShoppingPayOaClient {
    @GsonEncoder
    @Post(value = "#{sys.oa-host}/api/srm/payment/fixedAssetPayments", interceptor = OAInterceptor.class)
    @ApiOperateLog(code = "saveShoppingPay", name = "推送商城付款OA", direction = ApiDirection.SRM_TO_OTHER,
            thirdSysType = ThirdSysType.OA)
    ApiResult saveShoppingPay(@JSONBody ShoppingPayOA shoppingPayOA);



}
