package com.gxwebsoft.shop.controller;

import com.gxwebsoft.common.core.web.ApiResult;
import com.gxwebsoft.common.core.web.BaseController;
import com.gxwebsoft.shop.config.ExpressConfig;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class SfExpressController extends BaseController {

  @Resource
  ExpressConfig expressConfig;

  public ApiResult<?> createOrder(){
    String sign = "";
    String serverHost = expressConfig.getServerHost().concat("/open/api/external/createorder?sign=").concat(sign);
    return success("成功",serverHost);
  }
}
