Commit 42792857 by TingSong-Syu

修正AssignTrait引入时的命名空间写法问题。

parent 44d58afc
...@@ -9,11 +9,12 @@ ...@@ -9,11 +9,12 @@
namespace neoteched\rpc\pay_center; namespace neoteched\rpc\pay_center;
use neoteched\rpc\traits\AssignTrait;
use x2ts\IAssignable; use x2ts\IAssignable;
use x2ts\rpc\RPCWrapper; use x2ts\rpc\RPCWrapper;
class Feature implements IAssignable { class Feature implements IAssignable {
use neoteched\rpc\traits\AssignTrait; use AssignTrait;
const TYPE_CARD = 'card'; const TYPE_CARD = 'card';
const MAP_TYPE = [ const MAP_TYPE = [
......
...@@ -9,10 +9,11 @@ ...@@ -9,10 +9,11 @@
namespace neoteched\rpc\pay_center; namespace neoteched\rpc\pay_center;
use neoteched\rpc\traits\AssignTrait;
use x2ts\IAssignable; use x2ts\IAssignable;
class Order implements IAssignable { class Order implements IAssignable {
use neoteched\rpc\traits\AssignTrait; use AssignTrait;
const ST_NEW = 'new'; const ST_NEW = 'new';
const ST_PAID = 'paid'; const ST_PAID = 'paid';
......
...@@ -8,11 +8,12 @@ ...@@ -8,11 +8,12 @@
namespace neoteched\rpc\pay_center; namespace neoteched\rpc\pay_center;
use neoteched\rpc\traits\AssignTrait;
use x2ts\IAssignable; use x2ts\IAssignable;
use x2ts\rpc\RPCWrapper; use x2ts\rpc\RPCWrapper;
class Product implements IAssignable { class Product implements IAssignable {
use neoteched\rpc\traits\AssignTrait; use AssignTrait;
private static $userBought = []; private static $userBought = [];
......
...@@ -9,10 +9,11 @@ ...@@ -9,10 +9,11 @@
namespace neoteched\rpc\pay_center; namespace neoteched\rpc\pay_center;
use neoteched\rpc\traits\AssignTrait;
use x2ts\IAssignable; use x2ts\IAssignable;
class Purpose implements IAssignable { class Purpose implements IAssignable {
use neoteched\rpc\traits\AssignTrait; use AssignTrait;
/** /**
* @var string $productName 产品名称 * @var string $productName 产品名称
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment